summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-02-15 09:15:14 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-02-19 07:03:31 +0100
commit342e41d1350bbf4f1119d5097b9dbbc73994a7e5 (patch)
treea6908d360a247530501e4f4b06eb47cb91e541e5
parentspec: Specify RTEMS_ALIGNOF() (diff)
downloadrtems-central-342e41d1350bbf4f1119d5097b9dbbc73994a7e5.tar.bz2
spec: Add test suite
-rw-r--r--spec/testsuites/model-0.yml5
-rw-r--r--spec/testsuites/validation-0.yml5
-rw-r--r--spec/testsuites/validation-1.yml20
3 files changed, 26 insertions, 4 deletions
diff --git a/spec/testsuites/model-0.yml b/spec/testsuites/model-0.yml
index dcf79ed5..862f3672 100644
--- a/spec/testsuites/model-0.yml
+++ b/spec/testsuites/model-0.yml
@@ -10,12 +10,13 @@ test-brief: |
test-code: |
const char rtems_test_name[] = "Model0";
+ #define CONFIGURE_MAXIMUM_PROCESSORS 4
+
#include "ts-default.h"
test-description: |
In SMP configurations, up to three scheduler instances using the SMP EDF
scheduler are provided using up to four processors.
-test-includes:
-- rtems/test-info.h
+test-includes: []
test-local-includes: []
test-target: testsuites/validation/ts-model-0.c
type: test-suite
diff --git a/spec/testsuites/validation-0.yml b/spec/testsuites/validation-0.yml
index b8fc847d..8ecb6bc4 100644
--- a/spec/testsuites/validation-0.yml
+++ b/spec/testsuites/validation-0.yml
@@ -9,12 +9,13 @@ test-brief: |
test-code: |
const char rtems_test_name[] = "Validation0";
+ #define CONFIGURE_MAXIMUM_PROCESSORS 4
+
#include "ts-default.h"
test-description: |
In SMP configurations, up to three scheduler instances using the SMP EDF
scheduler are provided using up to four processors.
-test-includes:
-- rtems/test-info.h
+test-includes: []
test-local-includes: []
test-target: testsuites/validation/ts-validation-0.c
type: test-suite
diff --git a/spec/testsuites/validation-1.yml b/spec/testsuites/validation-1.yml
new file mode 100644
index 00000000..0f0a8de6
--- /dev/null
+++ b/spec/testsuites/validation-1.yml
@@ -0,0 +1,20 @@
+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: []
+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[] = "Validation1";
+
+ #define CONFIGURE_MAXIMUM_PROCESSORS 1
+
+ #include "ts-default.h"
+test-description: null
+test-includes: []
+test-local-includes: []
+test-target: testsuites/validation/ts-validation-1.c
+type: test-suite