summaryrefslogtreecommitdiffstats
path: root/spec/rtems/attr/val/attr.yml
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-02-04 10:51:12 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-02-04 14:23:33 +0100
commita95eaf1e8163bdd0e974ea55066e014d6f99d8a3 (patch)
tree01cfb3d1d62a571b20bd910073c629bc129d67f5 /spec/rtems/attr/val/attr.yml
parentvalidation: Remove prologue/epilogue in test cases (diff)
downloadrtems-central-a95eaf1e8163bdd0e974ea55066e014d6f99d8a3.tar.bz2
validation: Move actions to separate functions
Diffstat (limited to 'spec/rtems/attr/val/attr.yml')
-rw-r--r--spec/rtems/attr/val/attr.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/rtems/attr/val/attr.yml b/spec/rtems/attr/val/attr.yml
index 3acd56eb..1e2b58ab 100644
--- a/spec/rtems/attr/val/attr.yml
+++ b/spec/rtems/attr/val/attr.yml
@@ -5,8 +5,6 @@ enabled-by: true
links: []
test-actions:
- action: |
- rtems_attribute attributes;
-
/* No action */
checks:
- check: |
@@ -202,6 +200,8 @@ test-actions:
Validate the default attribute constants.
links: []
- action: |
+ rtems_attribute attributes;
+
attributes = 0;
attributes |= RTEMS_BARRIER_AUTOMATIC_RELEASE;
attributes |= RTEMS_BINARY_SEMAPHORE;
@@ -229,6 +229,8 @@ test-actions:
Calculate the bitwise or of all non-default attribute constants.
links: []
- action: |
+ rtems_attribute attributes;
+
attributes = 0;
attributes |= RTEMS_BINARY_SEMAPHORE;
attributes |= RTEMS_COUNTING_SEMAPHORE;