source: rtems/testsuites/sptests/sp13/sp13.scn @ 13f09e6

4.104.114.84.95
Last change on this file since 13f09e6 was 13f09e6, checked in by Joel Sherrill <joel.sherrill@…>, on 07/31/97 at 19:48:23

Added support for rtems_message_queue_get_number_pending.

  • Property mode set to 100644
File size: 3.6 KB
Line 
1*** TEST 13 ***
2TA1 - rtems_message_queue_ident - qid => 18010001
3TA1 - rtems_message_queue_send - BUFFER 1 TO Q 1
4TA1 - rtems_message_queue_send - BUFFER 2 TO Q 1
5TA1 - rtems_task_wake_after - sleep 5 seconds
6TA2 - rtems_message_queue_receive - receive from queue 1 - RTEMS_NO_WAIT
7TA2 - buffer received: BUFFER 1 TO Q 1
8TA2 - rtems_message_queue_receive - receive from queue 1 - RTEMS_WAIT FOREVER
9TA2 - buffer received: BUFFER 2 TO Q 1
10TA2 - rtems_message_queue_receive - receive from queue 1 - RTEMS_WAIT FOREVER
11TA3 - rtems_message_queue_receive - receive from queue 2 - RTEMS_WAIT FOREVER
12TA1 - rtems_message_queue_send - BUFFER 3 TO Q 1
13TA1 - rtems_task_wake_after - sleep 5 seconds
14TA2 - buffer received: BUFFER 3 TO Q 1
15TA2 - rtems_task_set_priority - make self highest priority task
16TA2 - rtems_message_queue_receive - receive from queue 2 - RTEMS_WAIT FOREVER
17<pause>
18TA1 - rtems_message_queue_send - BUFFER 1 TO Q 2
19TA2 - buffer received: BUFFER 1 TO Q 2
20TA2 - rtems_message_queue_send - BUFFER 2 TO Q 2
21TA2 - rtems_message_queue_receive - receive from queue 1 - 10 second timeout
22TA1 - rtems_message_queue_receive - receive from queue 1 - 10 second timeout
23TA3 - buffer received: BUFFER 2 TO Q 2
24TA3 - rtems_message_queue_broadcast - BUFFER 3 TO Q 1
25TA2 - buffer received: BUFFER 3 TO Q 1
26TA2 - rtems_message_queue_receive - receive from queue 3 - RTEMS_WAIT FOREVER
27TA3 - number of tasks awakened = 02
28TA3 - rtems_message_queue_receive - receive from queue 3 - RTEMS_WAIT FOREVER
29TA1 - buffer received: BUFFER 3 TO Q 1
30TA1 - rtems_task_delete - delete TA2
31TA1 - rtems_message_queue_send - BUFFER 1 TO Q 3
32TA1 - rtems_task_wake_after - sleep 5 seconds
33TA3 - buffer received: BUFFER 1 TO Q 3
34TA3 - rtems_task_delete - delete self
35<pause>
36TA1 - rtems_message_queue_send - BUFFER 2 TO Q 3
37TA1 - rtems_message_queue_send - BUFFER 3 TO Q 3
38TA1 - rtems_message_queue_send - BUFFER 4 TO Q 3
39TA1 - rtems_message_queue_urgent - BUFFER 5 TO Q 3
40TA1 - rtems_message_queue_receive - receive from queue 3 - RTEMS_WAIT FOREVER
41TA1 - buffer received: BUFFER 5 TO Q 3
42TA1 - rtems_message_queue_receive - receive from queue 3 - RTEMS_WAIT FOREVER
43TA1 - buffer received: BUFFER 2 TO Q 3
44TA1 - rtems_message_queue_receive - receive from queue 3 - RTEMS_WAIT FOREVER
45TA1 - buffer received: BUFFER 3 TO Q 3
46TA1 - rtems_message_queue_receive - receive from queue 3 - RTEMS_WAIT FOREVER
47TA1 - buffer received: BUFFER 4 TO Q 3
48TA1 - rtems_message_queue_urgent - BUFFER 3 TO Q 2
49TA1 - rtems_message_queue_receive - receive from queue 2 - RTEMS_WAIT FOREVER
50TA1 - buffer received: BUFFER 3 TO Q 2
51<pause>
52TA1 - rtems_message_queue_delete - delete queue 1
53TA1 - rtems_message_queue_urgent - BUFFER 3 TO Q 2
54TA1 - rtems_message_queue_delete - delete queue 2
55TA1 - rtems_message_queue_get_number_pending - SUCCESSFUL
56TA1 - 0 messages are pending on Q 3
57TA1 - rtems_message_queue_flush - empty Q 3
58TA1 - 0 messages were flushed from Q 3
59TA1 - rtems_message_queue_send - BUFFER 1 TO Q 3
60TA1 - rtems_message_queue_send - BUFFER 2 TO Q 3
61TA1 - rtems_message_queue_get_number_pending - SUCCESSFUL
62TA1 - 2 messages are pending on Q 3
63TA1 - rtems_message_queue_send - BUFFER 3 TO Q 3
64TA1 - rtems_message_queue_flush - Q 3
65TA1 - 3 messages were flushed from Q 3
66TA1 - rtems_message_queue_send until all message buffers consumed
67TA1 - all message buffers consumed
68TA1 - rtems_message_queue_flush - Q 3
69TA1 - 100 messages were flushed from Q 3
70<pause> 
71TA1 - create message queue of 20 bytes on queue 1
72TA1 - rtems_message_queue_delete - delete queue 1
73<pause> 
74TA1 - rtems_message_queue_create - variable sizes
75TA1 - rtems_message_queue_create and send - variable sizes
76*** END OF TEST 13 ***
Note: See TracBrowser for help on using the repository browser.