From 139ffa25d92ad7dd702278fde672a38f1138af7b Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 11 Sep 2020 10:33:19 +0200 Subject: 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. --- spec/build/bsps/tstsmallmem.yml | 1 + spec/build/testsuites/grp.yml | 4 ++++ spec/build/testsuites/optvalidation.yml | 15 +++++++++++++++ spec/build/testsuites/validation/grp.yml | 18 ++++++++++++++++++ spec/build/testsuites/validation/validation-0.yml | 19 +++++++++++++++++++ 5 files changed, 57 insertions(+) create mode 100644 spec/build/testsuites/optvalidation.yml create mode 100644 spec/build/testsuites/validation/grp.yml create mode 100644 spec/build/testsuites/validation/validation-0.yml (limited to 'spec') 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 @@ -34,6 +34,8 @@ links: uid: optsp - role: build-dependency uid: opttm +- role: build-dependency + uid: optvalidation - role: build-dependency uid: ada/grp - role: build-dependency @@ -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: [] -- cgit v1.2.3