summaryrefslogtreecommitdiffstats
path: root/spec/build/testsuites/validation
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-12-09 15:58:14 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-03-24 11:10:48 +0100
commit212b0ca440d6bb2f3e5d2638508227c2a7106a57 (patch)
treedb12bd4dac059eb7871bbca4aa96555e5bd57791 /spec/build/testsuites/validation
parentvalidation: Improve support library (diff)
downloadrtems-212b0ca440d6bb2f3e5d2638508227c2a7106a57.tar.bz2
validation: Add test suites
The test source code is generated from specification items by the "./spec2modules.py" script contained in the git://git.rtems.org/rtems-central.git Git repository. Please read the "How-To" section in the "Software Requirements Engineering" chapter of the RTEMS Software Engineering manual to get more information about the process. Update #3716.
Diffstat (limited to 'spec/build/testsuites/validation')
-rw-r--r--spec/build/testsuites/validation/grp.yml12
-rw-r--r--spec/build/testsuites/validation/performance-no-clock-0.yml (renamed from spec/build/testsuites/validation/performance-0.yml)5
-rw-r--r--spec/build/testsuites/validation/validation-1.yml3
-rw-r--r--spec/build/testsuites/validation/validation-non-smp.yml20
-rw-r--r--spec/build/testsuites/validation/validation-one-cpu-0.yml19
-rw-r--r--spec/build/testsuites/validation/validation-smp-only-0.yml19
-rw-r--r--spec/build/testsuites/validation/validation-smp-only-1.yml19
7 files changed, 91 insertions, 6 deletions
diff --git a/spec/build/testsuites/validation/grp.yml b/spec/build/testsuites/validation/grp.yml
index b2f3606944..48e3978e94 100644
--- a/spec/build/testsuites/validation/grp.yml
+++ b/spec/build/testsuites/validation/grp.yml
@@ -13,11 +13,21 @@ links:
- role: build-dependency
uid: libvalidation
- role: build-dependency
- uid: performance-0
+ uid: performance-no-clock-0
- role: build-dependency
uid: validation-0
- role: build-dependency
uid: validation-1
+- role: build-dependency
+ uid: validation-no-clock-0
+- role: build-dependency
+ uid: validation-non-smp
+- role: build-dependency
+ uid: validation-one-cpu-0
+- role: build-dependency
+ uid: validation-smp-only-0
+- role: build-dependency
+ uid: validation-smp-only-1
type: build
use-after:
- validation
diff --git a/spec/build/testsuites/validation/performance-0.yml b/spec/build/testsuites/validation/performance-no-clock-0.yml
index 711edb0c75..bc76f665ea 100644
--- a/spec/build/testsuites/validation/performance-0.yml
+++ b/spec/build/testsuites/validation/performance-no-clock-0.yml
@@ -11,10 +11,9 @@ includes: []
ldflags: []
links: []
source:
-- testsuites/validation/tc-part-performance.c
-- testsuites/validation/ts-performance-0.c
+- testsuites/validation/ts-performance-no-clock-0.c
stlib: []
-target: testsuites/validation/ts-performance-0.exe
+target: testsuites/validation/ts-performance-no-clock-0.exe
type: build
use-after: []
use-before: []
diff --git a/spec/build/testsuites/validation/validation-1.yml b/spec/build/testsuites/validation/validation-1.yml
index ad6a7f32e8..8a98f8b382 100644
--- a/spec/build/testsuites/validation/validation-1.yml
+++ b/spec/build/testsuites/validation/validation-1.yml
@@ -19,6 +19,5 @@ source:
stlib: []
target: testsuites/validation/ts-validation-1.exe
type: build
-use-after:
-- validation
+use-after: []
use-before: []
diff --git a/spec/build/testsuites/validation/validation-non-smp.yml b/spec/build/testsuites/validation/validation-non-smp.yml
new file mode 100644
index 0000000000..656a8a1c5e
--- /dev/null
+++ b/spec/build/testsuites/validation/validation-non-smp.yml
@@ -0,0 +1,20 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: test-program
+cflags: []
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+ not: RTEMS_SMP
+features: c cprogram
+includes: []
+ldflags: []
+links: []
+source:
+- testsuites/validation/ts-validation-non-smp.c
+stlib: []
+target: testsuites/validation/ts-validation-non-smp.exe
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/testsuites/validation/validation-one-cpu-0.yml b/spec/build/testsuites/validation/validation-one-cpu-0.yml
new file mode 100644
index 0000000000..1dc342656e
--- /dev/null
+++ b/spec/build/testsuites/validation/validation-one-cpu-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) 2021 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+features: c cprogram
+includes: []
+ldflags: []
+links: []
+source:
+- testsuites/validation/ts-validation-one-cpu-0.c
+stlib: []
+target: testsuites/validation/ts-validation-one-cpu-0.exe
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/testsuites/validation/validation-smp-only-0.yml b/spec/build/testsuites/validation/validation-smp-only-0.yml
new file mode 100644
index 0000000000..bd3949c650
--- /dev/null
+++ b/spec/build/testsuites/validation/validation-smp-only-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) 2021 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: RTEMS_SMP
+features: c cprogram
+includes: []
+ldflags: []
+links: []
+source:
+- testsuites/validation/ts-validation-smp-only-0.c
+stlib: []
+target: testsuites/validation/ts-validation-smp-only-0.exe
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/testsuites/validation/validation-smp-only-1.yml b/spec/build/testsuites/validation/validation-smp-only-1.yml
new file mode 100644
index 0000000000..9425907b72
--- /dev/null
+++ b/spec/build/testsuites/validation/validation-smp-only-1.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) 2021 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: RTEMS_SMP
+features: c cprogram
+includes: []
+ldflags: []
+links: []
+source:
+- testsuites/validation/ts-validation-smp-only-1.c
+stlib: []
+target: testsuites/validation/ts-validation-smp-only-1.exe
+type: build
+use-after: []
+use-before: []