[rtems-central commit] spec: Add test suite
Sebastian Huber
sebh at rtems.org
Fri Feb 19 06:05:32 UTC 2021
Module: rtems-central
Branch: master
Commit: 342e41d1350bbf4f1119d5097b9dbbc73994a7e5
Changeset: http://git.rtems.org/rtems-central/commit/?id=342e41d1350bbf4f1119d5097b9dbbc73994a7e5
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Mon Feb 15 09:15:14 2021 +0100
spec: Add test suite
---
spec/testsuites/model-0.yml | 5 +++--
spec/testsuites/validation-0.yml | 5 +++--
spec/testsuites/validation-1.yml | 20 ++++++++++++++++++++
3 files changed, 26 insertions(+), 4 deletions(-)
diff --git a/spec/testsuites/model-0.yml b/spec/testsuites/model-0.yml
index dcf79ed..862f367 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 b8fc847..8ecb6bc 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 0000000..0f0a8de
--- /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
More information about the vc
mailing list