source: rtems/testsuites/ada/sptests/sp13/ada_sp13.scn @ 76bd25e

5
Last change on this file since 76bd25e was ee537ea, checked in by Sebastian Huber <sebastian.huber@…>, on Oct 12, 2017 at 8:00:10 AM

ada-tests: Move to testsuites/ada

This solves a build dependency issue, e.g. building tests before
librtemsbsp.a exists.

Close #3079.

  • Property mode set to 100644
File size: 3.4 KB
Line 
1*** TEST 13 ***
2TA1 - message_queue_ident - qid => 16#22010001#
3TA1 - message_queue_send - BUFFER 1 TO Q 1
4TA1 - message_queue_send - BUFFER 2 TO Q 1
5TA1 - task_wake_after - sleep 5 seconds
6TA2 - message_queue_receive - receive from queue 1 - NO_WAIT
7TA2 - buffer received: BUFFER 1 TO Q 1
8TA2 - message_queue_receive - receive from queue 1 - WAIT FOREVER
9TA2 - buffer received: BUFFER 2 TO Q 1
10TA2 - message_queue_receive - receive from queue 1 - WAIT FOREVER
11TA3 - message_queue_receive - receive from queue 2 - WAIT FOREVER
12TA1 - message_queue_send - BUFFER 3 TO Q 1
13TA1 - task_wake_after - sleep 5 seconds
14TA2 - buffer received: BUFFER 3 TO Q 1
15TA2 - task_set_priority - make self highest priority task
16TA2 - message_queue_receive - receive from queue 2 - WAIT FOREVER
17<pause> 
18TA1 - message_queue_send - BUFFER 1 TO Q 2
19TA2 - buffer received: BUFFER 1 TO Q 2
20TA2 - message_queue_send - BUFFER 2 TO Q 2
21TA2 - message_queue_receive - receive from queue 1 - 10 second timeout
22TA1 - message_queue_receive - receive from queue 1 - 10 second timeout
23TA3 - buffer received: BUFFER 2 TO Q 2
24TA3 - message_queue_broadcast - BUFFER 3 TO Q 1
25TA2 - buffer received: BUFFER 3 TO Q 1
26TA2 - message_queue_receive - receive from queue 3 - WAIT FOREVER
27TA3 - number of tasks awakened =   2
28TA3 - message_queue_receive - receive from queue 3 - WAIT FOREVER
29TA1 - buffer received: BUFFER 3 TO Q 1
30TA1 - task_delete - delete TA2
31TA1 - message_queue_send - BUFFER 1 TO Q 3
32TA1 - task_wake_after - sleep 5 seconds
33TA3 - buffer received: BUFFER 1 TO Q 3
34TA3 - task_delete - delete self
35<pause> 
36TA1 - message_queue_send - BUFFER 2 TO Q 3
37TA1 - message_queue_send - BUFFER 3 TO Q 3
38TA1 - message_queue_send - BUFFER 4 TO Q 3
39TA1 - message_queue_urgent - BUFFER 5 TO Q 3
40TA1 - message_queue_receive - receive from queue 3 - WAIT FOREVER
41TA1 - buffer received: BUFFER 5 TO Q 3
42TA1 - message_queue_receive - receive from queue 3 - WAIT FOREVER
43TA1 - buffer received: BUFFER 2 TO Q 3
44TA1 - message_queue_receive - receive from queue 3 - WAIT FOREVER
45TA1 - buffer received: BUFFER 3 TO Q 3
46TA1 - message_queue_receive - receive from queue 3 - WAIT FOREVER
47TA1 - buffer received: BUFFER 4 TO Q 3
48TA1 - message_queue_urgent - BUFFER 3 TO Q 2
49TA1 - message_queue_receive - receive from queue 2 - WAIT FOREVER
50TA1 - buffer received: BUFFER 3 TO Q 2
51<pause> 
52TA1 - message_queue_delete - delete queue 1
53TA1 - message_queue_urgent - BUFFER 3 TO Q 2
54TA1 - message_queue_delete - delete queue 2
55TA1 - message_queue_get_number_pending - check Q 3
56TA1 -   0 messages are pending on Q 3
57TA1 - message_queue_flush - empty Q 3
58TA1 -   0 messages were flushed from Q 3
59TA1 - message_queue_send - BUFFER 1 TO Q 3
60TA1 - message_queue_send - BUFFER 2 TO Q 3
61TA1 - message_queue_broadcast - NO BUFFER TO Q1
62TA1 - number of tasks awakened =   0
63TA1 - message_queue_get_number_pending - check Q 3
64TA1 -   2 messages are pending on Q 3
65TA1 - message_queue_send - BUFFER 3 TO Q 3
66TA1 - message_queue_flush - Q 3
67TA1 -   3 messages were flushed from Q 3
68TA1 - message_queue_send - until all message buffers consumed
69TA1 - message_queue_send - all message buffers consumed
70TA1 - message_queue_flush - Q 3
71TA1 - 100 messages were flushed from Q 3
72<pause> 
73TA1 - create message queue of 20 bytes on queue 1
74TA1 - message_queue_delete - delete queue 1
75<pause> 
76TA1 - message_queue_create - variable sizes
77TA1 - message_queue_create and send - variable sizes
78*** END OF TEST 13 ***
Note: See TracBrowser for help on using the repository browser.