summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-09-11 10:33:19 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-09-17 17:42:25 +0200
commit139ffa25d92ad7dd702278fde672a38f1138af7b (patch)
tree1e5c024010923af50508c58f2ff71c9e21cf7bf9 /spec
parentdoxygen: Move top-level group definitions (diff)
downloadrtems-139ffa25d92ad7dd702278fde672a38f1138af7b.tar.bz2
validation: Add general purpose test suite
Add a general purpose test suite for validation tests. This is the first test suite generated from a specification item in the rtems-central repository. Update #3959.
Diffstat (limited to 'spec')
-rw-r--r--spec/build/bsps/tstsmallmem.yml1
-rw-r--r--spec/build/testsuites/grp.yml4
-rw-r--r--spec/build/testsuites/optvalidation.yml15
-rw-r--r--spec/build/testsuites/validation/grp.yml18
-rw-r--r--spec/build/testsuites/validation/validation-0.yml19
5 files changed, 57 insertions, 0 deletions
diff --git a/spec/build/bsps/tstsmallmem.yml b/spec/build/bsps/tstsmallmem.yml
index a7924e732f..0c329d6b22 100644
--- a/spec/build/bsps/tstsmallmem.yml
+++ b/spec/build/bsps/tstsmallmem.yml
@@ -9,6 +9,7 @@ actions:
record02: exclude
sp47: exclude
spstkalloc02: exclude
+ validation-0: exclude
- set-value: -DPER_ALLOCATION=10
- append-test-cppflags: sp71
- set-value: -DMAXIMUM_DISTRIBUTION=10
diff --git a/spec/build/testsuites/grp.yml b/spec/build/testsuites/grp.yml
index ec2b6c616b..5c6457f06d 100644
--- a/spec/build/testsuites/grp.yml
+++ b/spec/build/testsuites/grp.yml
@@ -35,6 +35,8 @@ links:
- role: build-dependency
uid: opttm
- role: build-dependency
+ uid: optvalidation
+- role: build-dependency
uid: ada/grp
- role: build-dependency
uid: benchmarks/grp
@@ -58,6 +60,8 @@ links:
uid: sptests/grp
- role: build-dependency
uid: tmtests/grp
+- role: build-dependency
+ uid: validation/grp
type: build
use-after:
- rtemscpu
diff --git a/spec/build/testsuites/optvalidation.yml b/spec/build/testsuites/optvalidation.yml
new file mode 100644
index 0000000000..81eb320d53
--- /dev/null
+++ b/spec/build/testsuites/optvalidation.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- env-enable: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ Build the validation test programs (may be also enabled by BUILD_TESTS)
+enabled-by: true
+links: []
+name: BUILD_VALIDATIONTESTS
+type: build
diff --git a/spec/build/testsuites/validation/grp.yml b/spec/build/testsuites/validation/grp.yml
new file mode 100644
index 0000000000..390fb48803
--- /dev/null
+++ b/spec/build/testsuites/validation/grp.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by:
+- BUILD_TESTS
+- BUILD_VALIDATIONTESTS
+includes:
+- ${BSP_INCLUDES}
+install: []
+ldflags: []
+links:
+- role: build-dependency
+ uid: validation-0
+type: build
+use-after:
+- rtemstest
+use-before: []
diff --git a/spec/build/testsuites/validation/validation-0.yml b/spec/build/testsuites/validation/validation-0.yml
new file mode 100644
index 0000000000..d024efb96f
--- /dev/null
+++ b/spec/build/testsuites/validation/validation-0.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: test-program
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+features: c cprogram
+includes: []
+ldflags: []
+links: []
+source:
+- testsuites/validation/ts-validation-0.c
+stlib: []
+target: testsuites/validation/ts-validation-0.exe
+type: build
+use-after: []
+use-before: []