[rtems-central commit] spec: Reorganize test suites
Sebastian Huber
sebh at rtems.org
Wed Sep 8 11:49:44 UTC 2021
Module: rtems-central
Branch: master
Commit: b71c41d3cdd39cf3bcfacedea197b6ffb730065b
Changeset: http://git.rtems.org/rtems-central/commit/?id=b71c41d3cdd39cf3bcfacedea197b6ffb730065b
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Sep 7 13:55:08 2021 +0200
spec: Reorganize test suites
---
spec/testsuites/validation-1.yml | 11 ++++++-----
...{validation-2.yml => validation-no-clock-0.yml} | 4 ++--
spec/testsuites/validation-one-cpu-0.yml | 23 ++++++++++++++++++++++
spec/testsuites/validation-one-cpu-1.yml | 23 ++++++++++++++++++++++
4 files changed, 54 insertions(+), 7 deletions(-)
diff --git a/spec/testsuites/validation-1.yml b/spec/testsuites/validation-1.yml
index 4f35b68..f23bb2b 100644
--- a/spec/testsuites/validation-1.yml
+++ b/spec/testsuites/validation-1.yml
@@ -1,21 +1,22 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
-- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
enabled-by: true
links:
- role: requirement-refinement
uid: /req/test-suites
test-brief: |
This general purpose validation test suite provides enough resources to run
- basic tests for all specified managers and functions in a configuration with
- exactly one processor.
+ basic tests for all specified managers and functions.
test-code: |
const char rtems_test_name[] = "${.:/test-suite-name}";
- #define CONFIGURE_MAXIMUM_PROCESSORS 1
+ #define CONFIGURE_MAXIMUM_PROCESSORS 5
#include "ts-default.h"
-test-description: null
+test-description: |
+ In SMP configurations, up to three scheduler instances using the SMP EDF
+ scheduler are provided using up to four processors.
test-includes: []
test-local-includes: []
test-suite-name: Validation1
diff --git a/spec/testsuites/validation-2.yml b/spec/testsuites/validation-no-clock-0.yml
similarity index 89%
rename from spec/testsuites/validation-2.yml
rename to spec/testsuites/validation-no-clock-0.yml
index 6110508..476be32 100644
--- a/spec/testsuites/validation-2.yml
+++ b/spec/testsuites/validation-no-clock-0.yml
@@ -22,6 +22,6 @@ test-description: |
scheduler are provided using up to four processors.
test-includes: []
test-local-includes: []
-test-suite-name: Validation2
-test-target: testsuites/validation/ts-validation-2.c
+test-suite-name: ValidationNoClock0
+test-target: testsuites/validation/ts-validation-no-clock-0.c
type: test-suite
diff --git a/spec/testsuites/validation-one-cpu-0.yml b/spec/testsuites/validation-one-cpu-0.yml
new file mode 100644
index 0000000..ce4a862
--- /dev/null
+++ b/spec/testsuites/validation-one-cpu-0.yml
@@ -0,0 +1,23 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+links:
+- role: requirement-refinement
+ uid: /req/test-suites
+test-brief: |
+ This general purpose validation test suite provides enough resources to run
+ basic tests for all specified managers and functions in a configuration with
+ exactly one processor.
+test-code: |
+ const char rtems_test_name[] = "${.:/test-suite-name}";
+
+ #define CONFIGURE_MAXIMUM_PROCESSORS 1
+
+ #include "ts-default.h"
+test-description: null
+test-includes: []
+test-local-includes: []
+test-suite-name: ValidationOneCpu0
+test-target: testsuites/validation/ts-validation-one-cpu-0.c
+type: test-suite
diff --git a/spec/testsuites/validation-one-cpu-1.yml b/spec/testsuites/validation-one-cpu-1.yml
new file mode 100644
index 0000000..755795c
--- /dev/null
+++ b/spec/testsuites/validation-one-cpu-1.yml
@@ -0,0 +1,23 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+links:
+- role: requirement-refinement
+ uid: /req/test-suites
+test-brief: |
+ This general purpose validation test suite provides enough resources to run
+ basic tests for all specified managers and functions in a configuration with
+ exactly one processor.
+test-code: |
+ const char rtems_test_name[] = "${.:/test-suite-name}";
+
+ #define CONFIGURE_MAXIMUM_PROCESSORS 1
+
+ #include "ts-default.h"
+test-description: null
+test-includes: []
+test-local-includes: []
+test-suite-name: ValidationOneCpu1
+test-target: testsuites/validation/ts-validation-one-cpu-1.c
+type: test-suite
More information about the vc
mailing list