summaryrefslogtreecommitdiffstats
path: root/spec/rtems/event/val/events.yml
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rtems/event/val/events.yml')
-rw-r--r--spec/rtems/event/val/events.yml36
1 files changed, 18 insertions, 18 deletions
diff --git a/spec/rtems/event/val/events.yml b/spec/rtems/event/val/events.yml
index 43578af0..42ab27a1 100644
--- a/spec/rtems/event/val/events.yml
+++ b/spec/rtems/event/val/events.yml
@@ -4,7 +4,9 @@ copyrights:
enabled-by: true
links: []
test-actions:
-- action: |
+- action-brief: |
+ Run the event constant and number test for all 32 event constants.
+ action-code: |
int i;
for ( i = 0; i < 32; ++i ) {
@@ -12,10 +14,10 @@ test-actions:
T_step( (unsigned int) i ); /* ${steps/32} */
}
checks: []
- description: |
- Run the event constant and number test for all 32 event constants.
links: []
-- action: |
+- action-brief: |
+ Calculate the value of a bitwise or of all 32 event constants.
+ action-code: |
rtems_event_set all;
int i;
@@ -25,30 +27,28 @@ test-actions:
all |= events[ i ];
}
checks:
- - check: |
- T_step_eq_u32( ${step}, all, RTEMS_ALL_EVENTS );
- description: |
+ - brief: |
Check that the value is equal to RTEMS_ALL_EVENTS.
+ code: |
+ T_step_eq_u32( ${step}, all, RTEMS_ALL_EVENTS );
links: []
- description: |
- Calculate the value of a bitwise or of all 32 event constants.
links: []
-- action: |
+- action-brief: |
+ Validate the Event Manager directive options.
+ action-code: |
/* No action */
checks:
- - check: |
- T_step_eq_u32( ${step}, RTEMS_EVENT_ALL, 0 );
- description: |
+ - brief: |
Check that RTEMS_EVENT_ALL is equal to zero.
+ code: |
+ T_step_eq_u32( ${step}, RTEMS_EVENT_ALL, 0 );
links: []
- - check: |
+ - brief: |
+ Check that RTEMS_EVENT_ANY is a power of two.
+ code: |
T_step_ne_u32( ${step}, RTEMS_EVENT_ANY, 0 );
T_step_eq_u32( ${step}, RTEMS_EVENT_ANY & ( RTEMS_EVENT_ANY - 1 ), 0 );
- description: |
- Check that RTEMS_EVENT_ANY is a power of two.
links: []
- description: |
- Validate the Event Manager directive options.
links: []
test-brief: Tests the Event Manager API.
test-context: []