summaryrefslogtreecommitdiffstats
path: root/spec/req/rtems/event/val/send-receive.yml
diff options
context:
space:
mode:
Diffstat (limited to 'spec/req/rtems/event/val/send-receive.yml')
-rw-r--r--spec/req/rtems/event/val/send-receive.yml66
1 files changed, 0 insertions, 66 deletions
diff --git a/spec/req/rtems/event/val/send-receive.yml b/spec/req/rtems/event/val/send-receive.yml
deleted file mode 100644
index bca154b3..00000000
--- a/spec/req/rtems/event/val/send-receive.yml
+++ /dev/null
@@ -1,66 +0,0 @@
-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
-links:
-- role: validation
- uid: ../receive
-- role: validation
- uid: ../send
-test-actions:
-- action: |
- ${../send-receive:/test-run}(
- EventSend,
- EventReceive,
- GetPendingEvents,
- THREAD_WAIT_CLASS_EVENT,
- STATES_WAITING_FOR_EVENT
- );
- checks: []
- description: |
- Run the event send and receive tests for the application event set defined
- by ${../send-receive}.
- links: []
-test-brief: |
- Tests the ${/if/rtems/event/send:/name} and ${/if/rtems/event/receive:/name}
- directives.
-test-description: null
-test-epilogue: null
-test-fixture: null
-test-header: null
-test-includes:
-- rtems/rtems/eventimpl.h
-- rtems/rtems/tasksdata.h
-- rtems/score/statesimpl.h
-- rtems/score/threadimpl.h
-test-local-includes:
-- tr-event-send-receive.h
-test-prologue: null
-test-support: |
- static rtems_status_code EventSend(
- rtems_id id,
- rtems_event_set event_in
- )
- {
- return rtems_event_send( id, event_in );
- }
-
- static rtems_status_code EventReceive(
- rtems_id event_in,
- rtems_option option_set,
- rtems_interval ticks,
- rtems_event_set *event_out
- )
- {
- return rtems_event_receive( event_in, option_set, ticks, event_out );
- }
-
- static rtems_event_set GetPendingEvents( Thread_Control *thread )
- {
- RTEMS_API_Control *api;
-
- api = thread->API_Extensions[ THREAD_API_RTEMS ];
- return api->Event.pending_events;
- }
-test-target: testsuites/validation/tc-event-send-receive.c
-type: test-case