source: rtems/testsuites/sptests/sp33/sp33.scn @ a611d80

4.104.11
Last change on this file since a611d80 was a611d80, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 28, 2009 at 6:10:52 PM

2009-09-28 Joel Sherrill <joel.sherrill@…>

  • sp33/init.c, sp33/sp33.scn: Add some barrier error cases uncovered by uC5282 coverage runs.
  • Property mode set to 100644
File size: 1.5 KB
Line 
1*** TEST 33 ***
2rtems_barrier_delete - bad id - INVALID_ID
3rtems_barrier_release - bad id - INVALID_ID
4rtems_barrier_wait - bad id - INVALID_ID
5Create barrier with automatic release and 0 max waiters
6rtems_barrier_create - bad name - INVALID_NAME
7rtems_barrier_create - NULL barrier ID - INVALID_ADDRESS
8rtems_barrier_create - OK
9rtems_barrier_create - too many
10Check barrier ident
11Wait on barrier w/timeout and TIMEOUT
12rtems_barrier_release - NULL return count - INVALID_ADDRESS
13
14*** Testing manual release of barrier ***
15Delay to let Waiters block
16Waiter 0 waiting on barrier
17Waiter 1 waiting on barrier
18Waiter 2 waiting on barrier
19Waiter 3 waiting on barrier
20Releasing tasks
21Delay to let Waiters print a message
22Waiter 0 back from barrier
23Waiter 1 back from barrier
24Waiter 2 back from barrier
25Waiter 3 back from barrier
26
27*** Testing Deletion of barrier ***
28Delay to let Waiters block
29Waiter 0 waiting on barrier
30Waiter 1 waiting on barrier
31Waiter 2 waiting on barrier
32Waiter 3 waiting on barrier
33rtems_barrier_delete - OK
34Delay to let Waiters print a message
35Waiter 0 back from barrier
36Waiter 1 back from barrier
37Waiter 2 back from barrier
38Waiter 3 back from barrier
39rtems_barrier_create - OK
40
41*** Testing automatic release of barrier ***
42Delay to let task wait on barrier
43Waiter 0 waiting on barrier
44Waiter 1 waiting on barrier
45Waiter 2 waiting on barrier
46Waiter 3 waiting on barrier
47Waiter 3 back from barrier
48Waiter 0 back from barrier
49Waiter 1 back from barrier
50Waiter 2 back from barrier
51*** END OF TEST 33 ***
Note: See TracBrowser for help on using the repository browser.