summaryrefslogtreecommitdiffstats
path: root/spec/testsuites
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-05-26 08:33:00 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-05-28 10:38:23 +0200
commitfa461cb4ad365fe049ef52a8ee00414a30b15e8d (patch)
tree8f4d0e2578826b3d6caf7f53fad84f21c56244b2 /spec/testsuites
parentitems: Add EmptyItemCache (diff)
downloadrtems-central-fa461cb4ad365fe049ef52a8ee00414a30b15e8d.tar.bz2
Rename test case attributes
Diffstat (limited to 'spec/testsuites')
-rw-r--r--spec/testsuites/validation/c-library.yml36
-rw-r--r--spec/testsuites/validation/classic-barrier.yml32
-rw-r--r--spec/testsuites/validation/profile.yml2
3 files changed, 35 insertions, 35 deletions
diff --git a/spec/testsuites/validation/c-library.yml b/spec/testsuites/validation/c-library.yml
index a4f43bfe..704541eb 100644
--- a/spec/testsuites/validation/c-library.yml
+++ b/spec/testsuites/validation/c-library.yml
@@ -1,15 +1,5 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-enabled-by: true
-includes:
-- rtems.h
-- stdlib.h
-- rtems/malloc.h
-links: []
-local-includes: []
-source: testsuites/validation/tc-space-profile.c
-test-case-actions:
+actions:
- action: |
p = aligned_alloc(128, 4);
checks:
@@ -63,16 +53,26 @@ test-case-actions:
Set a source integer variable to one, set a destination integer variable to
two, and copy the source to the destination variable through memcpy().
links: []
-test-case-brief: |
+brief: |
This test case calls functions of the C Library which are included in the
space profile.
-test-case-description: null
-test-case-epilogue: null
-test-case-fixture: null
-test-case-name: Space Profile C Library
-test-case-prologue: |
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+description: null
+enabled-by: true
+epilogue: null
+fixture: null
+includes:
+- rtems.h
+- stdlib.h
+- rtems/malloc.h
+links: []
+local-includes: []
+name: Space Profile C Library
+prologue: |
void *p;
int s;
int d;
-test-case-support: null
+support: null
+target: testsuites/validation/tc-space-profile.c
type: test-case
diff --git a/spec/testsuites/validation/classic-barrier.yml b/spec/testsuites/validation/classic-barrier.yml
index aa83ad14..477cddeb 100644
--- a/spec/testsuites/validation/classic-barrier.yml
+++ b/spec/testsuites/validation/classic-barrier.yml
@@ -1,13 +1,5 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-enabled-by: true
-includes:
-- rtems.h
-links: []
-local-includes: []
-source: testsuites/validation/tc-space-profile.c
-test-case-actions:
+actions:
- action: |
id = 0xffffffff;
sc = rtems_barrier_create(name, RTEMS_BARRIER_AUTOMATIC_RELEASE, 1, &id);
@@ -68,19 +60,27 @@ test-case-actions:
description: |
Wait with an infinite timeout for the barrier.
links: []
-test-case-brief: |
+brief: |
This test case calls functions of the Barrier Manager which are included in
the space profile.
-test-case-description: null
-test-case-epilogue: |
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+description: null
+enabled-by: true
+epilogue: |
T_check_rtems_barriers(T_EVENT_RUN_INITIALIZE_EARLY, T_case_name());
-test-case-fixture: null
-test-case-name: Space Profile Classic Barriers
-test-case-prologue: |
+fixture: null
+includes:
+- rtems.h
+links: []
+local-includes: []
+name: Space Profile Classic Barriers
+prologue: |
static const rtems_name name = rtems_build_name('B', 'A', 'R', 'R');
rtems_status_code sc;
rtems_id id;
rtems_id id2;
uint32_t released;
-test-case-support: null
+support: null
+target: testsuites/validation/tc-space-profile.c
type: test-case
diff --git a/spec/testsuites/validation/profile.yml b/spec/testsuites/validation/profile.yml
index 72e61813..be64c9b2 100644
--- a/spec/testsuites/validation/profile.yml
+++ b/spec/testsuites/validation/profile.yml
@@ -9,7 +9,7 @@ includes:
- rtems/score/sysstate.h
links: []
local-includes: []
-source: testsuites/validation/ts-space-profile.c
+target: testsuites/validation/ts-space-profile.c
test-suite-brief: |
This test suite contains test cases which call in combination all functions
included in the space profile.