summaryrefslogtreecommitdiffstats
path: root/spec/testsuites
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-08-14 08:57:04 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-08-19 11:29:34 +0200
commit48d7a6858582560f763a51ed2ddb48fbeb079573 (patch)
tree8540ba8ec2220a2afafaa2f74bd605a41b4659b9 /spec/testsuites
parentspec: Add test header to test case item type (diff)
downloadrtems-central-48d7a6858582560f763a51ed2ddb48fbeb079573.tar.bz2
spec: Unify test attribute keys
Diffstat (limited to 'spec/testsuites')
-rw-r--r--spec/testsuites/validation-0.yml20
-rw-r--r--spec/testsuites/validation/c-library.yml30
-rw-r--r--spec/testsuites/validation/classic-barrier.yml30
-rw-r--r--spec/testsuites/validation/profile.yml20
4 files changed, 50 insertions, 50 deletions
diff --git a/spec/testsuites/validation-0.yml b/spec/testsuites/validation-0.yml
index e6a5d01f..6b1e6cb6 100644
--- a/spec/testsuites/validation-0.yml
+++ b/spec/testsuites/validation-0.yml
@@ -1,7 +1,11 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+links: []
+test-brief: |
This test suite contains a collection of unrelated test cases.
-code: |
+test-code: |
static char runner_task_stack[ RTEMS_MINIMUM_STACK_SIZE ];
static char buffer[ 512 ];
@@ -106,15 +110,11 @@ code: |
#define CONFIGURE_INIT
#include <rtems/confdefs.h>
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-description: null
-enabled-by: true
-includes:
+test-description: null
+test-includes:
- rtems.h
- rtems/bspIo.h
- rtems/sysinit.h
-links: []
-local-includes: []
-target: testsuites/validation/ts-validation-0.c
+test-local-includes: []
+test-target: testsuites/validation/ts-validation-0.c
type: test-suite
diff --git a/spec/testsuites/validation/c-library.yml b/spec/testsuites/validation/c-library.yml
index dda4d364..e2abea9a 100644
--- a/spec/testsuites/validation/c-library.yml
+++ b/spec/testsuites/validation/c-library.yml
@@ -1,5 +1,9 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-actions:
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+links: []
+test-actions:
- action: |
p = aligned_alloc(128, 4);
checks:
@@ -53,26 +57,22 @@ 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: []
-brief: |
+test-brief: |
This test case calls functions of the C Library which are included in the
space profile.
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-description: null
-enabled-by: true
-epilogue: null
-fixture: null
-includes:
+test-description: null
+test-epilogue: null
+test-fixture: null
+test-header: null
+test-includes:
- rtems.h
- stdlib.h
- rtems/malloc.h
-links: []
-local-includes: []
-prologue: |
+test-local-includes: []
+test-prologue: |
void *p;
int s;
int d;
-support: null
-target: testsuites/validation/tc-space-profile.c
-test-header: null
+test-support: null
+test-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 d72b49ae..08325898 100644
--- a/spec/testsuites/validation/classic-barrier.yml
+++ b/spec/testsuites/validation/classic-barrier.yml
@@ -1,5 +1,9 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-actions:
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+links: []
+test-actions:
- action: |
id = 0xffffffff;
sc = rtems_barrier_create(name, RTEMS_BARRIER_AUTOMATIC_RELEASE, 1, &id);
@@ -60,27 +64,23 @@ actions:
description: |
Wait with an infinite timeout for the barrier.
links: []
-brief: |
+test-brief: |
This test case calls functions of the Barrier Manager which are included in
the space profile.
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-description: null
-enabled-by: true
-epilogue: |
+test-description: null
+test-epilogue: |
T_check_rtems_barriers(T_EVENT_RUN_INITIALIZE_EARLY, T_case_name());
-fixture: null
-includes:
+test-fixture: null
+test-header: null
+test-includes:
- rtems.h
-links: []
-local-includes: []
-prologue: |
+test-local-includes: []
+test-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;
-support: null
-target: testsuites/validation/tc-space-profile.c
-test-header: null
+test-support: null
+test-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 b81556d0..75f3fef5 100644
--- a/spec/testsuites/validation/profile.yml
+++ b/spec/testsuites/validation/profile.yml
@@ -1,8 +1,12 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-brief: |
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+links: []
+test-brief: |
This test suite contains test cases which call in combination all functions
included in the space profile.
-code: |
+test-code: |
#define NAME rtems_build_name('N', 'A', 'M', 'E')
static void fatal_extension(
@@ -142,16 +146,12 @@ code: |
#define CONFIGURE_INIT
#include <rtems/confdefs.h>
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-description: null
-enabled-by: true
-includes:
+test-description: null
+test-includes:
- rtems.h
- rtems/bspIo.h
- rtems/sysinit.h
- rtems/score/sysstate.h
-links: []
-local-includes: []
-target: testsuites/validation/ts-space-profile.c
+test-local-includes: []
+test-target: testsuites/validation/ts-space-profile.c
type: test-suite