[PATCH 9/9] [waf] Add an option to build C++ sample applications
Hesham Almatary
Hesham.Almatary at cl.cam.ac.uk
Fri Apr 10 10:39:36 UTC 2020
Defaults to false
---
.../testsuites/RTEMS-BUILD-TEST-GRPTOP.yml | 1 +
.../testsuites/RTEMS-BUILD-TEST-OPTCXX.yml | 20 +++++++++++++++++++
.../RTEMS-BUILD-TEST-SAMPLE-CDTEST.yml | 3 ++-
.../RTEMS-BUILD-TEST-SAMPLE-FILEIO.yml | 3 ++-
.../RTEMS-BUILD-TEST-SAMPLE-IOSTREAM.yml | 3 ++-
5 files changed, 27 insertions(+), 3 deletions(-)
create mode 100644 spec/build/testsuites/RTEMS-BUILD-TEST-OPTCXX.yml
diff --git a/spec/build/testsuites/RTEMS-BUILD-TEST-GRPTOP.yml b/spec/build/testsuites/RTEMS-BUILD-TEST-GRPTOP.yml
index 55b3e92cdd..10549799a9 100644
--- a/spec/build/testsuites/RTEMS-BUILD-TEST-GRPTOP.yml
+++ b/spec/build/testsuites/RTEMS-BUILD-TEST-GRPTOP.yml
@@ -12,6 +12,7 @@ links:
- RTEMS-BUILD-TEST-OPTADA: 5gTNi40j7gaW9SW8qbbN0mXpB8lhCVK3NzoAHBFtelg=
- RTEMS-BUILD-TEST-OPTALL: tx4OoqkdzH-51Ht9q8gLMhL6IQadCDkX3CecSfMZePc=
- RTEMS-BUILD-TEST-OPTBENCHMARKS: 5E6anmk09XjmvNUDbQBlRRISUEA9Z1yicJFYZ2lmoS0=
+- RTEMS-BUILD-TEST-OPTCXX: Hi8O4hzJGikUlY--K_wzPy6OEkX-L5X32JZp1QikeXE=
- RTEMS-BUILD-TEST-OPTFS: xFUJdmqvQIfIujXnes-97pqTm0vT8cSn5HzecORvDU8=
- RTEMS-BUILD-TEST-OPTLIB: tgOZr20BGAt-A7cRhQ3qqw9Dwchz6lNTueaWrZuVR6U=
- RTEMS-BUILD-TEST-OPTMP: _hHruhYRZlpPqFigzPl4kzS125-dxQ2XlBDHsI6Fx0A=
diff --git a/spec/build/testsuites/RTEMS-BUILD-TEST-OPTCXX.yml b/spec/build/testsuites/RTEMS-BUILD-TEST-OPTCXX.yml
new file mode 100644
index 0000000000..a2aa46e53c
--- /dev/null
+++ b/spec/build/testsuites/RTEMS-BUILD-TEST-OPTCXX.yml
@@ -0,0 +1,20 @@
+actions:
+- get-boolean: null
+- env-enable: null
+active: true
+build-type: option
+default: false
+default-by-variant: []
+derived: false
+enabled-by: []
+header: ''
+level: 1.12
+links: []
+name: BUILD_CXXTESTS
+normative: true
+order: -1000
+ref: ''
+reviewed: Hi8O4hzJGikUlY--K_wzPy6OEkX-L5X32JZp1QikeXE=
+text: |
+ Build the C++ test programs
+type: build
diff --git a/spec/build/testsuites/samples/RTEMS-BUILD-TEST-SAMPLE-CDTEST.yml b/spec/build/testsuites/samples/RTEMS-BUILD-TEST-SAMPLE-CDTEST.yml
index dcb0270f43..7c4bc19df0 100644
--- a/spec/build/testsuites/samples/RTEMS-BUILD-TEST-SAMPLE-CDTEST.yml
+++ b/spec/build/testsuites/samples/RTEMS-BUILD-TEST-SAMPLE-CDTEST.yml
@@ -4,7 +4,8 @@ cflags: []
cppflags: []
cxxflags: []
derived: false
-enabled-by: []
+enabled-by:
+- BUILD_CXXTESTS
features: c cxx cxxprogram
header: ''
includes: []
diff --git a/spec/build/testsuites/samples/RTEMS-BUILD-TEST-SAMPLE-FILEIO.yml b/spec/build/testsuites/samples/RTEMS-BUILD-TEST-SAMPLE-FILEIO.yml
index 5c8620c793..498b0183e8 100644
--- a/spec/build/testsuites/samples/RTEMS-BUILD-TEST-SAMPLE-FILEIO.yml
+++ b/spec/build/testsuites/samples/RTEMS-BUILD-TEST-SAMPLE-FILEIO.yml
@@ -4,7 +4,8 @@ cflags: []
cppflags: []
cxxflags: []
derived: false
-enabled-by: []
+enabled-by:
+- BUILD_CXXTESTS
features: c cprogram
header: ''
includes: []
diff --git a/spec/build/testsuites/samples/RTEMS-BUILD-TEST-SAMPLE-IOSTREAM.yml b/spec/build/testsuites/samples/RTEMS-BUILD-TEST-SAMPLE-IOSTREAM.yml
index 75d9d48965..19aed15d05 100644
--- a/spec/build/testsuites/samples/RTEMS-BUILD-TEST-SAMPLE-IOSTREAM.yml
+++ b/spec/build/testsuites/samples/RTEMS-BUILD-TEST-SAMPLE-IOSTREAM.yml
@@ -4,7 +4,8 @@ cflags: []
cppflags: []
cxxflags: []
derived: false
-enabled-by: []
+enabled-by:
+- BUILD_CXXTESTS
features: cxx cxxprogram
header: ''
includes: []
--
2.17.1
More information about the devel
mailing list