diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-05-07 09:02:29 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-05-07 10:15:45 +0200 |
commit | 98f08f10bc4423d9f4b97584a7237f37d0eba8a5 (patch) | |
tree | feab7583c40f0a8eb10f3a62684bd53857d978d0 | |
parent | modules: Update rtems-docs (diff) | |
download | rtems-central-98f08f10bc4423d9f4b97584a7237f37d0eba8a5.tar.bz2 |
spec: Add SMP-only and non-SMP test suites
-rw-r--r-- | spec/testsuites/validation-non-smp.yml | 23 | ||||
-rw-r--r-- | spec/testsuites/validation-smp-only.yml | 24 |
2 files changed, 47 insertions, 0 deletions
diff --git a/spec/testsuites/validation-non-smp.yml b/spec/testsuites/validation-non-smp.yml new file mode 100644 index 00000000..59aecb2e --- /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 00000000..a0faf2f6 --- /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 |