source: rtems/c/src/ada-tests/sptests/sp12/sp12.scn @ ba3e1a4f

4.104.114.95
Last change on this file since ba3e1a4f was ba3e1a4f, checked in by Glenn Humphrey <glenn.humphrey@…>, on 10/10/07 at 20:58:48

2007-10-10 Glenn Humphrey <glenn.humphrey@…>

  • configure.ac, samples/base_sp/base_sp.scn, samples/base_sp/config.h, samples/base_sp/sptest.adb, samples/hello/config.h, samples/ticker/config.h, samples/ticker/ticker.scn, sptests/Makefile.am, sptests/sp01/sp01.scn, sptests/sp02/config.h, sptests/sp02/sp02.scn, sptests/sp03/config.h, sptests/sp03/sp03.scn, sptests/sp04/sp04.scn, sptests/sp04/sptest.adb, sptests/sp05/config.h, sptests/sp05/sp05.scn, sptests/sp06/config.h, sptests/sp07/config.h, sptests/sp07/sp07.scn, sptests/sp07/sptest.adb, sptests/sp07/sptest.ads, sptests/sp08/config.h, sptests/sp08/sp08.scn, sptests/sp09/Makefile.am, sptests/sp09/config.h, sptests/sp09/sp09.scn, sptests/sp09/sptest.adb, sptests/sp09/sptest.ads, sptests/sp11/config.h, sptests/sp11/sp11.scn, sptests/sp12/config.h, sptests/sp12/sp12.scn, sptests/sp13/config.h, sptests/sp13/sp13.scn, sptests/sp13/sptest.adb, sptests/sp14/config.h, sptests/sp14/sp14.scn, sptests/sp15/config.h, sptests/sp15/sp15.scn, sptests/sp16/config.h, sptests/sp16/sp16.scn, sptests/sp16/sptest.adb, sptests/sp17/config.h, sptests/sp19/config.h, sptests/sp19/sp19.scn, sptests/sp20/config.h, sptests/sp20/sp20.scn, sptests/sp22/config.h, sptests/sp22/sp22.scn, sptests/sp23/config.h, sptests/sp23/sp23.scn, sptests/sp24/config.h, sptests/sp24/sp24.scn, sptests/sp25/config.h, sptests/sp25/sp25.scn, support/init.c, support/test_support.adb, support/test_support.ads, tmtests/tm09/config.h, tmtests/tm20/tmtest.adb, tmtests/tmoverhd/dummy_rtems.adb, tmtests/tmoverhd/dummy_rtems.ads, tmtests/tmoverhd/tmtest.adb, tmtests/tmoverhd/tmtest.ads: Updated tests so that they would all compile and run without errors. Some tests that are no longer valid using the current binding were removed. Also updated the .scn files to reflect the current test output.
  • sptests/sp21/.cvsignore, sptests/sp21/Makefile.am, sptests/sp21/config.h, sptests/sp21/sp21.adb, sptests/sp21/sp21.scn, sptests/sp21/sptest.adb, sptests/sp21/sptest.ads, sptests/spsize/.cvsignore, sptests/spsize/Makefile.am, sptests/spsize/spsize.adb, sptests/spsize/sptest.adb, sptests/spsize/sptest.ads: Removed.
  • Property mode set to 100644
File size: 2.9 KB
Line 
1*** TEST 12 ***
2INIT - Forward priority queue test
3PRI1 - semaphore_obtain - wait forever on SM2
4PRI2 - semaphore_obtain - wait forever on SM2
5PRI3 - semaphore_obtain - wait forever on SM2
6PRI4 - semaphore_obtain - wait forever on SM2
7PRI5 - semaphore_obtain - wait forever on SM2
8INIT - Backward priority queue test
9PRI5 - semaphore_obtain - wait forever on SM2
10PRI4 - semaphore_obtain - wait forever on SM2
11PRI3 - semaphore_obtain - wait forever on SM2
12PRI2 - semaphore_obtain - wait forever on SM2
13PRI1 - semaphore_obtain - wait forever on SM2
14<pause> 
15INIT - Binary Semaphore and Priority Inheritance Test
16INIT - semaphore_create - allocated binary semaphore
17INIT - semaphore_release - allocated binary semaphore
18INIT - semaphore_delete - allocated binary semaphore
19PRI5 - semaphore_obtain - wait forever on SM2
20PRI5 - task_suspend - until all priority tasks blocked
21PDRV - priority of PRI5 is          67
22PRI4 - semaphore_obtain - wait forever on SM2
23PDRV - change priority of PRI5 from          67 to          68
24PDRV - priority of PRI5 is          67
25PRI3 - semaphore_obtain - wait forever on SM2
26PDRV - priority of PRI5 is          67
27PRI2 - semaphore_obtain - wait forever on SM2
28PDRV - priority of PRI5 is          66
29PRI1 - semaphore_obtain - wait forever on SM2
30PDRV - priority of PRI5 is          65
31PDRV - task_resume - PRI5
32PRI5 - task_delete - all tasks waiting on SM2
33PRI5 - semaphore_obtain - nested
34PRI5 - semaphore_release - nested
35PRI5 - semaphore_release - restore priority
36PRI5 - priority of PRI5 is          68
37<pause> 
38TA1 - semaphore_ident - smid => 16#1A010009#
39TA1 - semaphore_obtain - wait forever on SM2
40TA1 - got SM2
41TA1 - semaphore_obtain - wait forever on SM3
42TA1 - got SM3
43TA1 - semaphore_obtain - get SM1 - NO_WAIT
44TA1 - got SM1
45TA1 - task_wake_after - sleep 5 seconds
46TA2 - semaphore_obtain - wait forever on SM1
47TA3 - semaphore_obtain - wait forever on SM2
48<pause> 
49TA1 - semaphore_release - release SM1
50TA1 - semaphore_obtain - waiting for SM1 with 10 second timeout
51TA2 - got SM1
52TA2 - semaphore_release - release SM1
53TA2 - task_set_priority - make self highest priority task
54TA2 - semaphore_obtain - wait forever on SM2
55TA1 - got SM1
56TA1 - semaphore_release - release SM2
57TA2 - got SM2
58TA2 - semaphore_release - release SM2
59TA2 - task_delete - delete self
60TA1 - task_wake_after - sleep 5 seconds
61TA3 - got SM2
62TA3 - semaphore_release - release SM2
63TA3 - semaphore_obtain - wait forever on SM3
64<pause> 
65TA1 - task_delete - delete TA3
66TA1 - task_wake_after - sleep 5 seconds
67TA4 - semaphore_obtain - wait forever on SM1
68TA5 - semaphore_obtain - wait forever on SM1
69TA1 - task_delete - delete TA4
70TA1 - semaphore_release - release SM1
71TA1 - task_wake_after - sleep 5 seconds
72TA5 - got SM1
73TA5 - semaphore_obtain - wait forever on SM1
74TA1 - semaphore_delete - delete SM1
75TA1 - semaphore_delete - delete SM3
76TA1 - task_delete - delete self
77TA5 - SM1 deleted by TA1
78*** END OF TEST 12 ***
Note: See TracBrowser for help on using the repository browser.