Commit c85692a2 authored by Daniel Silveira's avatar Daniel Silveira

8cd32648 - Removed netbeans files

de41d59f - Solved invalid test
1a6e85f7 - Add script to kill qemu execution in tests
7b0ef875 - Gitlab CI/CD supports two Vms
3f081448 - Kill pending processes if test fails in gitlab-runner

Refs #47
parent e35d7667
......@@ -49,6 +49,9 @@ tags
# Doxygen output directory
doc/
#Netbeans
nbproject
# Eclipse
# Created by https://www.gitignore.io/api/eclipse
......
......@@ -25,39 +25,77 @@ default:
- git submodule sync --recursive
- git submodule update --init --recursive
#Cronological order of jobs to be done
#To be divided in the future in multiple VMs
stages:
- sconfig-sparc
- sbuild-sparc
- sclean-build-sparc
- test_0009_sparc
- sconfig-arm
- sclean-build-arm
- sbuild-arm
- test_0001_arm
#Build SPARC
config_sparc:
# tags:
# - sparc
stage: sconfig-sparc
script:
- cp $AIR/../utils/gitlab-runner/.sparc_config .
- ./configure -f .sparc_config
build_sparc:
build_sparc:
# tags:
# - sparc
stage: sbuild-sparc
script:
- make clean
- make clean # to be removed and used only on failure
- make
#clean_build_sparc:
# tags:
# - sparc
# stage: sclean-build-sparc
# script:
# - make clean
# - make
# when: on_failure
#Build for ARM
config_arm:
# tags:
# - arm_qemu
stage: sconfig-arm
script:
- cp $AIR/../utils/gitlab-runner/.arm_config .
- ./configure -f .arm_config
build_arm:
build_arm:
# tags:
# - arm_qemu
stage: sbuild-arm
script:
- make clean
- make clean # to be removed and used only on failure
- make
#clean_build_arm:
# tags:
# - arm_qemu
# stage: scleanbuild-arm
# script:
# - make clean
# - make
# when: on_failure
#Tests for SPARC
0009_sparc:
# tags:
# - sparc
stage: test_0009_sparc
script:
- cd $AIR/examples/validation/TEST-DEF-00009
......@@ -72,6 +110,9 @@ build_arm:
environment:
name: SPARC LEON4
#Test for ARM
# tags:
# - arm_qemu
0009_arm:
stage: test_0001_arm
script:
......
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8"?>
<configurationDescriptor version="100">
<logicalFolder name="root" displayName="root" projectFiles="true" kind="ROOT">
<logicalFolder name="TEST-DEF-00009"
displayName="TEST-DEF-00009"
projectFiles="true"
root=".">
<logicalFolder name="config" displayName="config" projectFiles="true">
<itemPath>config/usr_arch.c</itemPath>
<itemPath>config/usr_channels.c</itemPath>
<itemPath>config/usr_config.c</itemPath>
<itemPath>config/usr_config.h</itemPath>
<itemPath>config/usr_hm.c</itemPath>
<itemPath>config/usr_partitions.c</itemPath>
<itemPath>config/usr_partitions_data.c</itemPath>
<itemPath>config/usr_schedules.c</itemPath>
<itemPath>config/usr_sharedmemory.c</itemPath>
</logicalFolder>
<logicalFolder name="p0" displayName="p0" projectFiles="true">
<itemPath>p0/P0testdef.c</itemPath>
<itemPath>p0/P0testdef.h</itemPath>
<itemPath>p0/init.c</itemPath>
<itemPath>p0/rtems_config.h</itemPath>
</logicalFolder>
<logicalFolder name="p1" displayName="p1" projectFiles="true">
<itemPath>p1/P1testdef.c</itemPath>
<itemPath>p1/P1testdef.h</itemPath>
<itemPath>p1/init.c</itemPath>
<itemPath>p1/rtems_config.h</itemPath>
</logicalFolder>
<logicalFolder name="p2" displayName="p2" projectFiles="true">
<itemPath>p2/P2testprint.c</itemPath>
<itemPath>p2/init.c</itemPath>
<itemPath>p2/rtems_config.h</itemPath>
</logicalFolder>
<itemPath>upgrate_tests.bash</itemPath>
</logicalFolder>
<logicalFolder name="ExternalFiles"
displayName="Important Files"
projectFiles="false"
kind="IMPORTANT_FILES_FOLDER">
<itemPath>Makefile</itemPath>
<itemPath>nbproject/private/launcher.properties</itemPath>
</logicalFolder>
<itemPath>TEST-DEF-00009.xml</itemPath>
</logicalFolder>
<sourceFolderFilter>^(nbproject)$</sourceFolderFilter>
<sourceRootList>
<Elem>.</Elem>
</sourceRootList>
<projectmakefile>Makefile</projectmakefile>
<confs>
<conf name="Default" type="0">
<toolsSet>
<compilerSet>default</compilerSet>
<dependencyChecking>false</dependencyChecking>
<rebuildPropChanged>false</rebuildPropChanged>
</toolsSet>
<flagsDictionary>
<element flagsID="0" commonFlags="-O2 -g"/>
<element flagsID="1" commonFlags="-g -O2"/>
</flagsDictionary>
<codeAssistance>
<resolveSymbolicLinks>true</resolveSymbolicLinks>
<includeAdditional>true</includeAdditional>
</codeAssistance>
<makefileType>
<makeTool>
<buildCommandWorkingDir>.</buildCommandWorkingDir>
<buildCommand>${MAKE} -f Makefile</buildCommand>
<cleanCommand>${MAKE} -f Makefile clean</cleanCommand>
<executablePath></executablePath>
<cTool flags="0">
</cTool>
</makeTool>
<preBuild>
<preBuildCommandWorkingDir>.</preBuildCommandWorkingDir>
<preBuildCommand>../../../configure</preBuildCommand>
<preBuildFirst>true</preBuildFirst>
</preBuild>
<requiredProjects>
<makeArtifact PL="../../.."
CT="0"
CN="Default"
AC="true"
BL="false"
WD="../../.."
BC="${MAKE} -f Makefile"
CC="${MAKE} -f Makefile clean"
OP="">
</makeArtifact>
</requiredProjects>
</makefileType>
<item path="config/usr_arch.c" ex="false" tool="0" flavor2="0">
<cTool flags="1">
</cTool>
</item>
<item path="config/usr_channels.c" ex="false" tool="0" flavor2="0">
<cTool flags="1">
</cTool>
</item>
<item path="config/usr_config.c" ex="false" tool="0" flavor2="0">
<cTool flags="1">
</cTool>
</item>
<item path="config/usr_hm.c" ex="false" tool="0" flavor2="0">
<cTool flags="1">
</cTool>
</item>
<item path="config/usr_partitions.c" ex="false" tool="0" flavor2="0">
<cTool flags="1">
</cTool>
</item>
<item path="config/usr_partitions_data.c" ex="false" tool="0" flavor2="0">
<cTool flags="1">
</cTool>
</item>
<item path="config/usr_schedules.c" ex="false" tool="0" flavor2="0">
<cTool flags="1">
</cTool>
</item>
<item path="config/usr_sharedmemory.c" ex="false" tool="0" flavor2="0">
<cTool flags="1">
</cTool>
</item>
<folder path="TEST-DEF-00009/config">
<cTool>
<incDir>
<pElem>config</pElem>
<pElem>../../../install/pmk/bsp/sparc/leon3/include</pElem>
<pElem>../../../install/pmk/arch/sparc/include</pElem>
<pElem>../../../install/pmk/core/include</pElem>
</incDir>
<preprocessorList>
<Elem>PMK_MAX_CORES=4</Elem>
<Elem>PMK_SPARC_LEON4</Elem>
</preprocessorList>
</cTool>
</folder>
<folder path="TEST-DEF-00009/p0">
<cTool>
<incDir>
<pElem>../../../pmk/core/include</pElem>
<pElem>../../../pmk/arch/sparc/include</pElem>
<pElem>p0</pElem>
<pElem>common</pElem>
</incDir>
<preprocessorList>
<Elem>AIR_HYPERVISOR</Elem>
<Elem>RTEMS5</Elem>
</preprocessorList>
</cTool>
</folder>
<folder path="TEST-DEF-00009/p1">
<cTool>
<incDir>
<pElem>../../../pmk/core/include</pElem>
<pElem>../../../pmk/arch/sparc/include</pElem>
<pElem>p1</pElem>
<pElem>common</pElem>
</incDir>
<preprocessorList>
<Elem>AIR_HYPERVISOR</Elem>
<Elem>RTEMS5</Elem>
</preprocessorList>
</cTool>
</folder>
<folder path="TEST-DEF-00009/p2">
<cTool>
<incDir>
<pElem>../../../pmk/core/include</pElem>
<pElem>../../../pmk/arch/sparc/include</pElem>
<pElem>p2</pElem>
<pElem>common</pElem>
</incDir>
<preprocessorList>
<Elem>AIR_HYPERVISOR</Elem>
<Elem>RTEMS5</Elem>
</preprocessorList>
</cTool>
</folder>
<item path="p0/P0testdef.c" ex="false" tool="0" flavor2="0">
<cTool flags="0">
</cTool>
</item>
<item path="p0/init.c" ex="false" tool="0" flavor2="0">
<cTool flags="0">
</cTool>
</item>
<item path="p1/P1testdef.c" ex="false" tool="0" flavor2="0">
<cTool flags="0">
</cTool>
</item>
<item path="p1/init.c" ex="false" tool="0" flavor2="0">
<cTool flags="0">
</cTool>
</item>
<item path="p2/P2testprint.c" ex="false" tool="0" flavor2="0">
<cTool flags="0">
</cTool>
</item>
<item path="p2/init.c" ex="false" tool="0" flavor2="0">
<cTool flags="0">
</cTool>
</item>
</conf>
</confs>
</configurationDescriptor>
/home/taste/work/air-dev/air/examples/validation/TEST-DEF-00009/p0/P0testdef.c=/home/taste/work/air-dev/air/examples/validation/TEST-DEF-00009/p0#--pipe -B/home/taste/work/air-dev/air/install/pos/rtems5/rtems5-install/sparc-rtems5/leon3/lib/ -specs bsp_specs -qrtems -Wall -O2 -g -ffunction-sections -fdata-sections -DAIR_HYPERVISOR -I/home/taste/work/air-dev/air/pmk/core/include -I/home/taste/work/air-dev/air/pmk/arch/sparc/include -mcpu=leon3 -I./ -B./ -I../common/ -B../common/ -DRTEMS5 -B/home/taste/work/air-dev/air/install/libs/libprintf/ -B/home/taste/work/air-dev/air/install/libs/imaspex/ -B/home/taste/work/air-dev/air/install/libs/libair/ -B/home/taste/work/air-dev/air/install/libs/libtest/ -c -o o-optimize/./P0testdef.o P0testdef.c
/home/taste/work/air-dev/air/examples/validation/TEST-DEF-00009/p0/init.c=/home/taste/work/air-dev/air/examples/validation/TEST-DEF-00009/p0#--pipe -B/home/taste/work/air-dev/air/install/pos/rtems5/rtems5-install/sparc-rtems5/leon3/lib/ -specs bsp_specs -qrtems -Wall -O2 -g -ffunction-sections -fdata-sections -DAIR_HYPERVISOR -I/home/taste/work/air-dev/air/pmk/core/include -I/home/taste/work/air-dev/air/pmk/arch/sparc/include -mcpu=leon3 -I./ -B./ -I../common/ -B../common/ -DRTEMS5 -B/home/taste/work/air-dev/air/install/libs/libprintf/ -B/home/taste/work/air-dev/air/install/libs/imaspex/ -B/home/taste/work/air-dev/air/install/libs/libair/ -B/home/taste/work/air-dev/air/install/libs/libtest/ -c -o o-optimize/./init.o init.c
/home/taste/work/air-dev/air/examples/validation/TEST-DEF-00009/p1/P1testdef.c=/home/taste/work/air-dev/air/examples/validation/TEST-DEF-00009/p1#--pipe -B/home/taste/work/air-dev/air/install/pos/rtems5/rtems5-install/sparc-rtems5/leon3/lib/ -specs bsp_specs -qrtems -Wall -O2 -g -ffunction-sections -fdata-sections -DAIR_HYPERVISOR -I/home/taste/work/air-dev/air/pmk/core/include -I/home/taste/work/air-dev/air/pmk/arch/sparc/include -mcpu=leon3 -I./ -B./ -I../common/ -B../common/ -DRTEMS5 -B/home/taste/work/air-dev/air/install/libs/libprintf/ -B/home/taste/work/air-dev/air/install/libs/imaspex/ -B/home/taste/work/air-dev/air/install/libs/libair/ -B/home/taste/work/air-dev/air/install/libs/libtest/ -c -o o-optimize/./P1testdef.o P1testdef.c
/home/taste/work/air-dev/air/examples/validation/TEST-DEF-00009/p1/init.c=/home/taste/work/air-dev/air/examples/validation/TEST-DEF-00009/p1#--pipe -B/home/taste/work/air-dev/air/install/pos/rtems5/rtems5-install/sparc-rtems5/leon3/lib/ -specs bsp_specs -qrtems -Wall -O2 -g -ffunction-sections -fdata-sections -DAIR_HYPERVISOR -I/home/taste/work/air-dev/air/pmk/core/include -I/home/taste/work/air-dev/air/pmk/arch/sparc/include -mcpu=leon3 -I./ -B./ -I../common/ -B../common/ -DRTEMS5 -B/home/taste/work/air-dev/air/install/libs/libprintf/ -B/home/taste/work/air-dev/air/install/libs/imaspex/ -B/home/taste/work/air-dev/air/install/libs/libair/ -B/home/taste/work/air-dev/air/install/libs/libtest/ -c -o o-optimize/./init.o init.c
/home/taste/work/air-dev/air/examples/validation/TEST-DEF-00009/p2/init.c=/home/taste/work/air-dev/air/examples/validation/TEST-DEF-00009/p2#--pipe -B/home/taste/work/air-dev/air/install/pos/rtems5/rtems5-install/sparc-rtems5/leon3/lib/ -specs bsp_specs -qrtems -Wall -O2 -g -ffunction-sections -fdata-sections -DAIR_HYPERVISOR -I/home/taste/work/air-dev/air/pmk/core/include -I/home/taste/work/air-dev/air/pmk/arch/sparc/include -mcpu=leon3 -I./ -B./ -I../common/ -B../common/ -DRTEMS5 -B/home/taste/work/air-dev/air/install/libs/libprintf/ -B/home/taste/work/air-dev/air/install/libs/imaspex/ -B/home/taste/work/air-dev/air/install/libs/libair/ -B/home/taste/work/air-dev/air/install/libs/libtest/ -c -o o-optimize/./init.o init.c
/home/taste/work/air-dev/air/examples/validation/TEST-DEF-00009/p2/P2testprint.c=/home/taste/work/air-dev/air/examples/validation/TEST-DEF-00009/p2#--pipe -B/home/taste/work/air-dev/air/install/pos/rtems5/rtems5-install/sparc-rtems5/leon3/lib/ -specs bsp_specs -qrtems -Wall -O2 -g -ffunction-sections -fdata-sections -DAIR_HYPERVISOR -I/home/taste/work/air-dev/air/pmk/core/include -I/home/taste/work/air-dev/air/pmk/arch/sparc/include -mcpu=leon3 -I./ -B./ -I../common/ -B../common/ -DRTEMS5 -B/home/taste/work/air-dev/air/install/libs/libprintf/ -B/home/taste/work/air-dev/air/install/libs/imaspex/ -B/home/taste/work/air-dev/air/install/libs/libair/ -B/home/taste/work/air-dev/air/install/libs/libtest/ -c -o o-optimize/./P2testprint.o P2testprint.c
/home/taste/work/air-dev/air/examples/validation/TEST-DEF-00009/config/usr_schedules.c=/home/taste/work/air-dev/air/examples/validation/TEST-DEF-00009/config#--pipe -mcpu=leon3 -mflat -g -fno-builtin -nodefaultlibs -O2 -Wall -DPMK_MAX_CORES=4 -DPMK_SPARC_LEON4 -fno-zero-initialized-in-bss -I./ -I/home/taste/work/air-dev/air/install/pmk/bsp/sparc/leon3/include -I/home/taste/work/air-dev/air/install/pmk/arch/sparc/include -I/home/taste/work/air-dev/air/install/pmk/core/include -c usr_schedules.c -o build/usr_schedules.o
/home/taste/work/air-dev/air/examples/validation/TEST-DEF-00009/config/usr_hm.c=/home/taste/work/air-dev/air/examples/validation/TEST-DEF-00009/config#--pipe -mcpu=leon3 -mflat -g -fno-builtin -nodefaultlibs -O2 -Wall -DPMK_MAX_CORES=4 -DPMK_SPARC_LEON4 -fno-zero-initialized-in-bss -I./ -I/home/taste/work/air-dev/air/install/pmk/bsp/sparc/leon3/include -I/home/taste/work/air-dev/air/install/pmk/arch/sparc/include -I/home/taste/work/air-dev/air/install/pmk/core/include -c usr_hm.c -o build/usr_hm.o
/home/taste/work/air-dev/air/examples/validation/TEST-DEF-00009/config/usr_partitions.c=/home/taste/work/air-dev/air/examples/validation/TEST-DEF-00009/config#--pipe -mcpu=leon3 -mflat -g -fno-builtin -nodefaultlibs -O2 -Wall -DPMK_MAX_CORES=4 -DPMK_SPARC_LEON4 -fno-zero-initialized-in-bss -I./ -I/home/taste/work/air-dev/air/install/pmk/bsp/sparc/leon3/include -I/home/taste/work/air-dev/air/install/pmk/arch/sparc/include -I/home/taste/work/air-dev/air/install/pmk/core/include -c usr_partitions.c -o build/usr_partitions.o
/home/taste/work/air-dev/air/examples/validation/TEST-DEF-00009/config/usr_arch.c=/home/taste/work/air-dev/air/examples/validation/TEST-DEF-00009/config#--pipe -mcpu=leon3 -mflat -g -fno-builtin -nodefaultlibs -O2 -Wall -DPMK_MAX_CORES=4 -DPMK_SPARC_LEON4 -fno-zero-initialized-in-bss -I./ -I/home/taste/work/air-dev/air/install/pmk/bsp/sparc/leon3/include -I/home/taste/work/air-dev/air/install/pmk/arch/sparc/include -I/home/taste/work/air-dev/air/install/pmk/core/include -c usr_arch.c -o build/usr_arch.o
/home/taste/work/air-dev/air/examples/validation/TEST-DEF-00009/config/usr_sharedmemory.c=/home/taste/work/air-dev/air/examples/validation/TEST-DEF-00009/config#--pipe -mcpu=leon3 -mflat -g -fno-builtin -nodefaultlibs -O2 -Wall -DPMK_MAX_CORES=4 -DPMK_SPARC_LEON4 -fno-zero-initialized-in-bss -I./ -I/home/taste/work/air-dev/air/install/pmk/bsp/sparc/leon3/include -I/home/taste/work/air-dev/air/install/pmk/arch/sparc/include -I/home/taste/work/air-dev/air/install/pmk/core/include -c usr_sharedmemory.c -o build/usr_sharedmemory.o
/home/taste/work/air-dev/air/examples/validation/TEST-DEF-00009/config/usr_config.c=/home/taste/work/air-dev/air/examples/validation/TEST-DEF-00009/config#--pipe -mcpu=leon3 -mflat -g -fno-builtin -nodefaultlibs -O2 -Wall -DPMK_MAX_CORES=4 -DPMK_SPARC_LEON4 -fno-zero-initialized-in-bss -I./ -I/home/taste/work/air-dev/air/install/pmk/bsp/sparc/leon3/include -I/home/taste/work/air-dev/air/install/pmk/arch/sparc/include -I/home/taste/work/air-dev/air/install/pmk/core/include -c usr_config.c -o build/usr_config.o
/home/taste/work/air-dev/air/examples/validation/TEST-DEF-00009/config/usr_channels.c=/home/taste/work/air-dev/air/examples/validation/TEST-DEF-00009/config#--pipe -mcpu=leon3 -mflat -g -fno-builtin -nodefaultlibs -O2 -Wall -DPMK_MAX_CORES=4 -DPMK_SPARC_LEON4 -fno-zero-initialized-in-bss -I./ -I/home/taste/work/air-dev/air/install/pmk/bsp/sparc/leon3/include -I/home/taste/work/air-dev/air/install/pmk/arch/sparc/include -I/home/taste/work/air-dev/air/install/pmk/core/include -c usr_channels.c -o build/usr_channels.o
/home/taste/work/air-dev/air/examples/validation/TEST-DEF-00009/config/usr_partitions_data.c=/home/taste/work/air-dev/air/examples/validation/TEST-DEF-00009/config#--pipe -mcpu=leon3 -mflat -g -fno-builtin -nodefaultlibs -O2 -Wall -DPMK_MAX_CORES=4 -DPMK_SPARC_LEON4 -fno-zero-initialized-in-bss -I./ -I/home/taste/work/air-dev/air/install/pmk/bsp/sparc/leon3/include -I/home/taste/work/air-dev/air/install/pmk/arch/sparc/include -I/home/taste/work/air-dev/air/install/pmk/core/include -c usr_partitions_data.c -o build/usr_partitions_data.o
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2016 Oracle and/or its affiliates. All rights reserved.
*
* Oracle and Java are registered trademarks of Oracle and/or its affiliates.
* Other names may be trademarks of their respective owners.
*
* The contents of this file are subject to the terms of either the GNU
* General Public License Version 2 only ("GPL") or the Common
* Development and Distribution License("CDDL") (collectively, the
* "License"). You may not use this file except in compliance with the
* License. You can obtain a copy of the License at
* http://www.netbeans.org/cddl-gplv2.html
* or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
* specific language governing permissions and limitations under the
* License. When distributing the software, include this License Header
* Notice in each file and include the License file at
* nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the GPL Version 2 section of the License file that
* accompanied this code. If applicable, add the following below the
* License Header, with the fields enclosed by brackets [] replaced by
* your own identifying information:
* "Portions Copyrighted [year] [name of copyright owner]"
*
* If you wish your version of this file to be governed by only the CDDL
* or only the GPL Version 2, indicate your decision by adding
* "[Contributor] elects to include this software in this distribution
* under the [CDDL or GPL Version 2] license." If you do not indicate a
* single choice of license, a recipient has the option to distribute
* your version of this file under either the CDDL, the GPL Version 2 or
* to extend the choice of license to its licensees as provided above.
* However, if you add GPL Version 2 code and therefore, elected the GPL
* Version 2 license, then the option applies only if the new code is
* made subject to such option by the copyright holder.
*
* Contributor(s):
*/
// List of standard headers was taken in http://en.cppreference.com/w/c/header
#include <assert.h> // Conditionally compiled macro that compares its argument to zero
#include <ctype.h> // Functions to determine the type contained in character data
#include <errno.h> // Macros reporting error conditions
#include <float.h> // Limits of float types
#include <limits.h> // Sizes of basic types
#include <locale.h> // Localization utilities
#include <math.h> // Common mathematics functions
#include <setjmp.h> // Nonlocal jumps
#include <signal.h> // Signal handling
#include <stdarg.h> // Variable arguments
#include <stddef.h> // Common macro definitions
#include <stdio.h> // Input/output
#include <string.h> // String handling
#include <stdlib.h> // General utilities: memory management, program utilities, string conversions, random numbers
#include <time.h> // Time/date utilities
#include <iso646.h> // (since C95) Alternative operator spellings
#include <wchar.h> // (since C95) Extended multibyte and wide character utilities
#include <wctype.h> // (since C95) Wide character classification and mapping utilities
#ifdef _STDC_C99
#include <complex.h> // (since C99) Complex number arithmetic
#include <fenv.h> // (since C99) Floating-point environment
#include <inttypes.h> // (since C99) Format conversion of integer types
#include <stdbool.h> // (since C99) Boolean type
#include <stdint.h> // (since C99) Fixed-width integer types
#include <tgmath.h> // (since C99) Type-generic math (macros wrapping math.h and complex.h)
#endif
#ifdef _STDC_C11
#include <stdalign.h> // (since C11) alignas and alignof convenience macros
#include <stdatomic.h> // (since C11) Atomic types
#include <stdnoreturn.h> // (since C11) noreturn convenience macros
#include <threads.h> // (since C11) Thread library
#include <uchar.h> // (since C11) UTF-16 and UTF-32 character utilities
#endif
<?xml version="1.0" encoding="UTF-8"?>
<configurationDescriptor version="100">
<projectmakefile>Makefile</projectmakefile>
<confs>
<conf name="Default" type="0">
<toolsSet>
<developmentServer>localhost</developmentServer>
<platform>2</platform>
</toolsSet>
<compile>
<compiledirpicklist>
<compiledirpicklistitem>.</compiledirpicklistitem>
<compiledirpicklistitem>${AUTO_FOLDER}</compiledirpicklistitem>
</compiledirpicklist>
<compiledir>${AUTO_FOLDER}</compiledir>
<compilecommandpicklist>
<compilecommandpicklistitem>${MAKE} ${ITEM_NAME}.o</compilecommandpicklistitem>
<compilecommandpicklistitem>${AUTO_COMPILE}</compilecommandpicklistitem>
</compilecommandpicklist>
<compilecommand>${AUTO_COMPILE}</compilecommand>
</compile>
<dbx_gdbdebugger version="1">
<gdb_pathmaps>
</gdb_pathmaps>
<gdb_interceptlist>
<gdbinterceptoptions gdb_all="false" gdb_unhandled="true" gdb_unexpected="true"/>
</gdb_interceptlist>
<gdb_options>
<DebugOptions>
</DebugOptions>
</gdb_options>
<gdb_buildfirst gdb_buildfirst_overriden="false" gdb_buildfirst_old="false"/>
</dbx_gdbdebugger>
<nativedebugger version="1">
<engine>gdb</engine>
</nativedebugger>
<runprofile version="9">
<runcommandpicklist>
<runcommandpicklistitem>"${OUTPUT_PATH}"</runcommandpicklistitem>
<runcommandpicklistitem>do</runcommandpicklistitem>
<runcommandpicklistitem>doit.sh</runcommandpicklistitem>
<runcommandpicklistitem>./doit.sh</runcommandpicklistitem>
</runcommandpicklist>
<runcommand>./doit.sh</runcommand>
<rundir>.</rundir>
<buildfirst>true</buildfirst>
<terminal-type>0</terminal-type>
<remove-instrumentation>0</remove-instrumentation>
<environment>
</environment>
</runprofile>
</conf>
</confs>
</configurationDescriptor>
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2016 Oracle and/or its affiliates. All rights reserved.
*
* Oracle and Java are registered trademarks of Oracle and/or its affiliates.
* Other names may be trademarks of their respective owners.
*
* The contents of this file are subject to the terms of either the GNU
* General Public License Version 2 only ("GPL") or the Common
* Development and Distribution License("CDDL") (collectively, the
* "License"). You may not use this file except in compliance with the
* License. You can obtain a copy of the License at
* http://www.netbeans.org/cddl-gplv2.html
* or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
* specific language governing permissions and limitations under the
* License. When distributing the software, include this License Header
* Notice in each file and include the License file at
* nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the GPL Version 2 section of the License file that
* accompanied this code. If applicable, add the following below the
* License Header, with the fields enclosed by brackets [] replaced by
* your own identifying information:
* "Portions Copyrighted [year] [name of copyright owner]"
*
* If you wish your version of this file to be governed by only the CDDL
* or only the GPL Version 2, indicate your decision by adding
* "[Contributor] elects to include this software in this distribution
* under the [CDDL or GPL Version 2] license." If you do not indicate a
* single choice of license, a recipient has the option to distribute
* your version of this file under either the CDDL, the GPL Version 2 or
* to extend the choice of license to its licensees as provided above.
* However, if you add GPL Version 2 code and therefore, elected the GPL
* Version 2 license, then the option applies only if the new code is
* made subject to such option by the copyright holder.
*
* Contributor(s):
*/
// List of standard headers was taken in http://en.cppreference.com/w/cpp/header
#include <cstdlib> // General purpose utilities: program control, dynamic memory allocation, random numbers, sort and search
#include <csignal> // Functions and macro constants for signal management
#include <csetjmp> // Macro (and function) that saves (and jumps) to an execution context
#include <cstdarg> // Handling of variable length argument lists
#include <typeinfo> // Runtime type information utilities
#include <bitset> // std::bitset class template
#include <functional> // Function objects, designed for use with the standard algorithms
#include <utility> // Various utility components
#include <ctime> // C-style time/date utilites
#include <cstddef> // typedefs for types such as size_t, NULL and others
#include <new> // Low-level memory management utilities
#include <memory> // Higher level memory management utilities
#include <climits> // limits of integral types
#include <cfloat> // limits of float types
#include <limits> // standardized way to query properties of arithmetic types
#include <exception> // Exception handling utilities
#include <stdexcept> // Standard exception objects
#include <cassert> // Conditionally compiled macro that compares its argument to zero
#include <cerrno> // Macro containing the last error number
#include <cctype> // functions to determine the type contained in character data
#include <cwctype> // functions for determining the type of wide character data
#include <cstring> // various narrow character string handling functions
#include <cwchar> // various wide and multibyte string handling functions
#include <string> // std::basic_string class template
#include <vector> // std::vector container
#include <deque> // std::deque container
#include <list> // std::list container
#include <set> // std::set and std::multiset associative containers
#include <map> // std::map and std::multimap associative containers
#include <stack> // std::stack container adaptor
#include <queue> // std::queue and std::priority_queue container adaptors
#include <algorithm> // Algorithms that operate on containers
#include <iterator> // Container iterators
#include <cmath> // Common mathematics functions
#include <complex> // Complex number type
#include <valarray> // Class for representing and manipulating arrays of values
#include <numeric> // Numeric operations on values in containers
#include <iosfwd> // forward declarations of all classes in the input/output library
#include <ios> // std::ios_base class, std::basic_ios class template and several typedefs
#include <istream> // std::basic_istream class template and several typedefs
#include <ostream> // std::basic_ostream, std::basic_iostream class templates and several typedefs
#include <iostream> // several standard stream objects
#include <fstream> // std::basic_fstream, std::basic_ifstream, std::basic_ofstream class templates and several typedefs
#include <sstream> // std::basic_stringstream, std::basic_istringstream, std::basic_ostringstream class templates and several typedefs
#include <strstream> // std::strstream, std::istrstream, std::ostrstream(deprecated)
#include <iomanip> // Helper functions to control the format or input and output
#include <streambuf> // std::basic_streambuf class template
#include <cstdio> // C-style input-output functions
#include <locale> // Localization utilities
#include <clocale> // C localization utilities
#include <ciso646> // empty header. The macros that appear in iso646.h in C are keywords in C++
#if __cplusplus >= 201103L
#include <typeindex> // (since C++11) std::type_index
#include <type_traits> // (since C++11) Compile-time type information
#include <chrono> // (since C++11) C++ time utilites
#include <initializer_list> // (since C++11) std::initializer_list class template
#include <tuple> // (since C++11) std::tuple class template
#include <scoped_allocator> // (since C++11) Nested allocator class
#include <cstdint> // (since C++11) fixed-size types and limits of other types
#include <cinttypes> // (since C++11) formatting macros , intmax_t and uintmax_t math and conversions
#include <system_error> // (since C++11) defines std::error_code, a platform-dependent error code
#include <cuchar> // (since C++11) C-style Unicode character conversion functions
#include <array> // (since C++11) std::array container
#include <forward_list> // (since C++11) std::forward_list container
#include <unordered_set> // (since C++11) std::unordered_set and std::unordered_multiset unordered associative containers
#include <unordered_map> // (since C++11) std::unordered_map and std::unordered_multimap unordered associative containers
#include <random> // (since C++11) Random number generators and distributions
#include <ratio> // (since C++11) Compile-time rational arithmetic