diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-02-04 10:51:12 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-02-04 14:23:33 +0100 |
commit | a95eaf1e8163bdd0e974ea55066e014d6f99d8a3 (patch) | |
tree | 01cfb3d1d62a571b20bd910073c629bc129d67f5 /spec/rtems/attr/val/attr.yml | |
parent | validation: Remove prologue/epilogue in test cases (diff) | |
download | rtems-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.yml | 6 |
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; |