[rtems-central commit] spec: Add SMP-only and non-SMP test suites

Sebastian Huber sebh at rtems.org
Fri May 7 08:37:01 UTC 2021


Module:    rtems-central
Branch:    master
Commit:    98f08f10bc4423d9f4b97584a7237f37d0eba8a5
Changeset: http://git.rtems.org/rtems-central/commit/?id=98f08f10bc4423d9f4b97584a7237f37d0eba8a5

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri May  7 09:02:29 2021 +0200

spec: Add SMP-only and non-SMP test suites

---

 spec/testsuites/validation-non-smp.yml  | 23 +++++++++++++++++++++++
 spec/testsuites/validation-smp-only.yml | 24 ++++++++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/spec/testsuites/validation-non-smp.yml b/spec/testsuites/validation-non-smp.yml
new file mode 100644
index 0000000..59aecb2
--- /dev/null
+++ b/spec/testsuites/validation-non-smp.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:
+  not: RTEMS_SMP
+links:
+- role: requirement-refinement
+  uid: /req/test-suites
+test-brief: |
+  This test suite for non-SMP test cases provides enough resources to run basic
+  tests for all specified managers and functions.
+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: ValidationNonSMP
+test-target: testsuites/validation/ts-validation-non-smp.c
+type: test-suite
diff --git a/spec/testsuites/validation-smp-only.yml b/spec/testsuites/validation-smp-only.yml
new file mode 100644
index 0000000..a0faf2f
--- /dev/null
+++ b/spec/testsuites/validation-smp-only.yml
@@ -0,0 +1,24 @@
+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: RTEMS_SMP
+links:
+- role: requirement-refinement
+  uid: /req/test-suites
+test-brief: |
+  This test suite for SMP-only test cases provides enough resources to run
+  basic tests for all specified managers and functions.
+test-code: |
+  const char rtems_test_name[] = "${.:/test-suite-name}";
+
+  #define CONFIGURE_MAXIMUM_PROCESSORS 5
+
+  #include "ts-default.h"
+test-description: |
+  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: ValidationSMPOnly
+test-target: testsuites/validation/ts-validation-smp-only.c
+type: test-suite



More information about the vc mailing list