From 212b0ca440d6bb2f3e5d2638508227c2a7106a57 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 9 Dec 2021 15:58:14 +0100 Subject: 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. --- spec/build/testsuites/validation/grp.yml | 12 +++++++++++- spec/build/testsuites/validation/performance-0.yml | 20 -------------------- .../testsuites/validation/performance-no-clock-0.yml | 19 +++++++++++++++++++ spec/build/testsuites/validation/validation-1.yml | 3 +-- .../testsuites/validation/validation-non-smp.yml | 20 ++++++++++++++++++++ .../testsuites/validation/validation-one-cpu-0.yml | 19 +++++++++++++++++++ .../testsuites/validation/validation-smp-only-0.yml | 19 +++++++++++++++++++ .../testsuites/validation/validation-smp-only-1.yml | 19 +++++++++++++++++++ 8 files changed, 108 insertions(+), 23 deletions(-) delete mode 100644 spec/build/testsuites/validation/performance-0.yml create mode 100644 spec/build/testsuites/validation/performance-no-clock-0.yml create mode 100644 spec/build/testsuites/validation/validation-non-smp.yml create mode 100644 spec/build/testsuites/validation/validation-one-cpu-0.yml create mode 100644 spec/build/testsuites/validation/validation-smp-only-0.yml create mode 100644 spec/build/testsuites/validation/validation-smp-only-1.yml (limited to 'spec/build/testsuites') 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-0.yml deleted file mode 100644 index 711edb0c75..0000000000 --- a/spec/build/testsuites/validation/performance-0.yml +++ /dev/null @@ -1,20 +0,0 @@ -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/tc-part-performance.c -- testsuites/validation/ts-performance-0.c -stlib: [] -target: testsuites/validation/ts-performance-0.exe -type: build -use-after: [] -use-before: [] diff --git a/spec/build/testsuites/validation/performance-no-clock-0.yml b/spec/build/testsuites/validation/performance-no-clock-0.yml new file mode 100644 index 0000000000..bc76f665ea --- /dev/null +++ b/spec/build/testsuites/validation/performance-no-clock-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-performance-no-clock-0.c +stlib: [] +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: [] -- cgit v1.2.3