forked from Imagelibrary/rtems
build: Improve testsuite build selection
Enable an individual testsuite only through the corresponding enable. Use BUILD_TESTS to change the default value of the individual testsuite enable options. This allows the user to enable all testsuites with specific exceptions. For example, this builds all testsuites except the benchmarks: [arch/bsp] BUILD_TESTS = True BUILD_BENCHMARKS = False
This commit is contained in:
@@ -8,9 +8,7 @@ cxxflags: []
|
||||
enabled-by:
|
||||
- and:
|
||||
- __RTEMS_ADA__
|
||||
- or:
|
||||
- BUILD_TESTS
|
||||
- BUILD_ADATESTS
|
||||
- BUILD_ADATESTS
|
||||
includes: []
|
||||
install: []
|
||||
ldflags:
|
||||
|
||||
@@ -5,9 +5,7 @@ copyrights:
|
||||
- Copyright (C) 2020 embedded brains GmbH & Co. KG
|
||||
cppflags: []
|
||||
cxxflags: []
|
||||
enabled-by:
|
||||
- BUILD_TESTS
|
||||
- BUILD_BENCHMARKS
|
||||
enabled-by: BUILD_BENCHMARKS
|
||||
includes:
|
||||
- testsuites/support/include
|
||||
install: []
|
||||
|
||||
@@ -5,9 +5,7 @@ copyrights:
|
||||
- Copyright (C) 2020 embedded brains GmbH & Co. KG
|
||||
cppflags: []
|
||||
cxxflags: []
|
||||
enabled-by:
|
||||
- BUILD_TESTS
|
||||
- BUILD_FSTESTS
|
||||
enabled-by: BUILD_FSTESTS
|
||||
includes:
|
||||
- testsuites/support/include
|
||||
- testsuites/fstests/support
|
||||
|
||||
@@ -14,10 +14,10 @@ install: []
|
||||
ldflags:
|
||||
- ${COVERAGE_LINKER_FLAGS}
|
||||
links:
|
||||
- role: build-dependency
|
||||
uid: optada
|
||||
- role: build-dependency
|
||||
uid: optall
|
||||
- role: build-dependency
|
||||
uid: optada
|
||||
- role: build-dependency
|
||||
uid: optbenchmarks
|
||||
- role: build-dependency
|
||||
|
||||
@@ -5,9 +5,7 @@ copyrights:
|
||||
- Copyright (C) 2020 embedded brains GmbH & Co. KG
|
||||
cppflags: []
|
||||
cxxflags: []
|
||||
enabled-by:
|
||||
- BUILD_TESTS
|
||||
- BUILD_LIBTESTS
|
||||
enabled-by: BUILD_LIBTESTS
|
||||
includes:
|
||||
- testsuites/support/include
|
||||
install: []
|
||||
|
||||
@@ -5,9 +5,7 @@ copyrights:
|
||||
- Copyright (C) 2020 embedded brains GmbH & Co. KG
|
||||
cppflags: []
|
||||
cxxflags: []
|
||||
enabled-by:
|
||||
- BUILD_TESTS
|
||||
- BUILD_MPTESTS
|
||||
enabled-by: BUILD_MPTESTS
|
||||
includes:
|
||||
- testsuites/support/include
|
||||
install: []
|
||||
|
||||
@@ -6,6 +6,8 @@ build-type: option
|
||||
copyrights:
|
||||
- Copyright (C) 2020 embedded brains GmbH & Co. KG
|
||||
default:
|
||||
- enabled-by: BUILD_TESTS
|
||||
value: true
|
||||
- enabled-by: true
|
||||
value: false
|
||||
description: |
|
||||
|
||||
@@ -6,6 +6,8 @@ build-type: option
|
||||
copyrights:
|
||||
- Copyright (C) 2020 embedded brains GmbH & Co. KG
|
||||
default:
|
||||
- enabled-by: BUILD_TESTS
|
||||
value: true
|
||||
- enabled-by: true
|
||||
value: false
|
||||
description: |
|
||||
|
||||
@@ -6,6 +6,8 @@ build-type: option
|
||||
copyrights:
|
||||
- Copyright (C) 2020 embedded brains GmbH & Co. KG
|
||||
default:
|
||||
- enabled-by: BUILD_TESTS
|
||||
value: true
|
||||
- enabled-by: true
|
||||
value: false
|
||||
description: |
|
||||
|
||||
@@ -6,6 +6,8 @@ build-type: option
|
||||
copyrights:
|
||||
- Copyright (C) 2020 embedded brains GmbH & Co. KG
|
||||
default:
|
||||
- enabled-by: BUILD_TESTS
|
||||
value: true
|
||||
- enabled-by: true
|
||||
value: false
|
||||
description: |
|
||||
|
||||
@@ -6,6 +6,8 @@ build-type: option
|
||||
copyrights:
|
||||
- Copyright (C) 2020 embedded brains GmbH & Co. KG
|
||||
default:
|
||||
- enabled-by: BUILD_TESTS
|
||||
value: true
|
||||
- enabled-by: true
|
||||
value: false
|
||||
description: |
|
||||
|
||||
@@ -6,6 +6,8 @@ build-type: option
|
||||
copyrights:
|
||||
- Copyright (C) 2020 embedded brains GmbH & Co. KG
|
||||
default:
|
||||
- enabled-by: BUILD_TESTS
|
||||
value: true
|
||||
- enabled-by: true
|
||||
value: false
|
||||
description: |
|
||||
|
||||
@@ -6,6 +6,8 @@ build-type: option
|
||||
copyrights:
|
||||
- Copyright (C) 2020 embedded brains GmbH & Co. KG
|
||||
default:
|
||||
- enabled-by: BUILD_TESTS
|
||||
value: true
|
||||
- enabled-by: true
|
||||
value: false
|
||||
description: |
|
||||
|
||||
@@ -6,6 +6,8 @@ build-type: option
|
||||
copyrights:
|
||||
- Copyright (C) 2020 embedded brains GmbH & Co. KG
|
||||
default:
|
||||
- enabled-by: BUILD_TESTS
|
||||
value: true
|
||||
- enabled-by: true
|
||||
value: false
|
||||
description: |
|
||||
|
||||
@@ -6,6 +6,8 @@ build-type: option
|
||||
copyrights:
|
||||
- Copyright (C) 2020 embedded brains GmbH & Co. KG
|
||||
default:
|
||||
- enabled-by: BUILD_TESTS
|
||||
value: true
|
||||
- enabled-by: true
|
||||
value: false
|
||||
description: |
|
||||
|
||||
@@ -6,6 +6,8 @@ build-type: option
|
||||
copyrights:
|
||||
- Copyright (C) 2020 embedded brains GmbH & Co. KG
|
||||
default:
|
||||
- enabled-by: BUILD_TESTS
|
||||
value: true
|
||||
- enabled-by: true
|
||||
value: false
|
||||
description: |
|
||||
|
||||
@@ -6,6 +6,8 @@ build-type: option
|
||||
copyrights:
|
||||
- Copyright (C) 2020 embedded brains GmbH & Co. KG
|
||||
default:
|
||||
- enabled-by: BUILD_TESTS
|
||||
value: true
|
||||
- enabled-by: true
|
||||
value: false
|
||||
description: |
|
||||
|
||||
@@ -6,6 +6,8 @@ build-type: option
|
||||
copyrights:
|
||||
- Copyright (C) 2020 embedded brains GmbH & Co. KG
|
||||
default:
|
||||
- enabled-by: BUILD_TESTS
|
||||
value: true
|
||||
- enabled-by: true
|
||||
value: false
|
||||
description: |
|
||||
|
||||
@@ -6,6 +6,8 @@ build-type: option
|
||||
copyrights:
|
||||
- Copyright (C) 2020 embedded brains GmbH & Co. KG
|
||||
default:
|
||||
- enabled-by: BUILD_TESTS
|
||||
value: true
|
||||
- enabled-by: true
|
||||
value: false
|
||||
description: |
|
||||
|
||||
@@ -5,9 +5,7 @@ copyrights:
|
||||
- Copyright (C) 2020 embedded brains GmbH & Co. KG
|
||||
cppflags: []
|
||||
cxxflags: []
|
||||
enabled-by:
|
||||
- BUILD_TESTS
|
||||
- BUILD_PSXTESTS
|
||||
enabled-by: BUILD_PSXTESTS
|
||||
includes:
|
||||
- testsuites/support/include
|
||||
- testsuites/psxtests/include
|
||||
|
||||
@@ -5,9 +5,7 @@ copyrights:
|
||||
- Copyright (C) 2020 embedded brains GmbH & Co. KG
|
||||
cppflags: []
|
||||
cxxflags: []
|
||||
enabled-by:
|
||||
- BUILD_TESTS
|
||||
- BUILD_PSXTMTESTS
|
||||
enabled-by: BUILD_PSXTMTESTS
|
||||
includes:
|
||||
- testsuites/support/include
|
||||
- testsuites/tmtests/include
|
||||
|
||||
@@ -5,9 +5,7 @@ copyrights:
|
||||
- Copyright (C) 2020 embedded brains GmbH & Co. KG
|
||||
cppflags: []
|
||||
cxxflags: []
|
||||
enabled-by:
|
||||
- BUILD_TESTS
|
||||
- BUILD_RHEALSTONE
|
||||
enabled-by: BUILD_RHEALSTONE
|
||||
includes:
|
||||
- testsuites/support/include
|
||||
- testsuites/tmtests/include
|
||||
|
||||
@@ -5,9 +5,7 @@ copyrights:
|
||||
- Copyright (C) 2020 embedded brains GmbH & Co. KG
|
||||
cppflags: []
|
||||
cxxflags: []
|
||||
enabled-by:
|
||||
- BUILD_TESTS
|
||||
- BUILD_SAMPLES
|
||||
enabled-by: BUILD_SAMPLES
|
||||
includes:
|
||||
- testsuites/support/include
|
||||
install: []
|
||||
|
||||
@@ -6,11 +6,9 @@ copyrights:
|
||||
cppflags: []
|
||||
cxxflags: []
|
||||
enabled-by:
|
||||
- and:
|
||||
and:
|
||||
- RTEMS_SMP
|
||||
- or:
|
||||
- BUILD_TESTS
|
||||
- BUILD_SMPTESTS
|
||||
- BUILD_SMPTESTS
|
||||
includes:
|
||||
- testsuites/support/include
|
||||
install: []
|
||||
|
||||
@@ -5,9 +5,7 @@ copyrights:
|
||||
- Copyright (C) 2020 embedded brains GmbH & Co. KG
|
||||
cppflags: []
|
||||
cxxflags: []
|
||||
enabled-by:
|
||||
- BUILD_TESTS
|
||||
- BUILD_SPTESTS
|
||||
enabled-by: BUILD_SPTESTS
|
||||
includes:
|
||||
- testsuites/support/include
|
||||
install: []
|
||||
|
||||
@@ -5,9 +5,7 @@ copyrights:
|
||||
- Copyright (C) 2020 embedded brains GmbH & Co. KG
|
||||
cppflags: []
|
||||
cxxflags: []
|
||||
enabled-by:
|
||||
- BUILD_TESTS
|
||||
- BUILD_TMTESTS
|
||||
enabled-by: BUILD_TMTESTS
|
||||
includes:
|
||||
- testsuites/support/include
|
||||
- testsuites/tmtests/include
|
||||
|
||||
@@ -5,9 +5,7 @@ copyrights:
|
||||
- Copyright (C) 2020 embedded brains GmbH & Co. KG
|
||||
cppflags: []
|
||||
cxxflags: []
|
||||
enabled-by:
|
||||
- BUILD_TESTS
|
||||
- BUILD_UNITTESTS
|
||||
enabled-by: BUILD_UNITTESTS
|
||||
includes:
|
||||
- testsuites/support/include
|
||||
install: []
|
||||
|
||||
@@ -5,9 +5,7 @@ copyrights:
|
||||
- Copyright (C) 2020 embedded brains GmbH & Co. KG
|
||||
cppflags: []
|
||||
cxxflags: []
|
||||
enabled-by:
|
||||
- BUILD_TESTS
|
||||
- BUILD_VALIDATIONTESTS
|
||||
enabled-by: BUILD_VALIDATIONTESTS
|
||||
includes:
|
||||
- ${BSP_INCLUDES}
|
||||
- testsuites/validation
|
||||
|
||||
Reference in New Issue
Block a user