source: rtems/testsuites/libtests/rtems++/rtems++.scn @ c499856

4.115
Last change on this file since c499856 was e83be28, checked in by Chris Johns <chrisj@…>, on Jan 9, 2014 at 11:57:08 PM

testsuite/rtems++: Output format change.

Alter the output to avoid sending out what is the MI protocol. The SIS
simulator is currently broken and outputs directly to GDB's stdout and
so this output gets parsed as MI output.

  • Property mode set to 100644
File size: 9.4 KB
Line 
1
2
3*** RTEMS++ TEST ***
4INIT - Task.create() - RTEMS[19] invalid thread priority
5INIT - Task.create() - RTEMS[00] successful completion
6INIT - Task.create() - RTEMS[16] illegal on calling thread
7INIT - Task.restart() - RTEMS[14] thread is in wrong state
8INIT - Task.start(0xDEADDEAD) - RTEMS[00] successful completion
9INIT - Destroy it's self
10<pause - screen 1>
11 START Task Class test
12TA1  - test argument - argument matched
13TA1  - copy constructor - local and this id's match
14TA1  - copy constructor - local and this name's match
15TA1  - copy operator - local and this id's match
16TA1  - copy operator - local and this name's match
17TA1  - not owner destroy's task - RTEMS[23] not owner of resource
18TA1  - connect to a local valid task name - RTEMS[00] successful completion
19TA1  - connect to an invalid task name - RTEMS[03] invalid object name
20SELF - connect to a task on an invalid node - RTEMS[03] invalid object name
21TA1  - restart from a non-owner - RTEMS[23] not owner of resource
22<pause - screen 2>
23TA1  - wake after 0 secs - RTEMS[00] successful completion
24TA1  - wake after 500 msecs - RTEMS[00] successful completion
25TA1  - wake after 5 secs - RTEMS[00] successful completion
26TA1  - wake when - to do
27TA1  - connected object wake after 0 secs - RTEMS[00] successful completion
28TA1  - connected object wake after 500 msecs - RTEMS[00] successful completion
29TA1  - connected object wake after 5 secs - RTEMS[00] successful completion
30TA1  - connected object wake when - to do
31SELF - self object wake after 0 secs - RTEMS[00] successful completion
32SELF - self object wake after 500 msecs - RTEMS[00] successful completion
33SELF - self object wake after 5 secs - RTEMS[00] successful completion
34SELF - self object wake when - to do
35TA1  - get priority - RTEMS[00] successful completion, priority is 10
36TA1  - set priority to 512 - RTEMS[19] invalid thread priority
37TA1  - set priority to 25 - RTEMS[00] successful completion
38TA1  - set priority to original - RTEMS[00] successful completion, priority was 25
39TA1  - connected object get priority - RTEMS[00] successful completion, priority is 10
40TA1  - connected object set priority to 512 - RTEMS[19] invalid thread priority
41TA1  - connected object set priority to 25 - RTEMS[00] successful completion
42TA1  - connected object set priority to original - RTEMS[00] successful completion, priority was 25
43SELF - self object get priority - RTEMS[00] successful completion, priority is 10
44SELF - self object set priority to 512 - RTEMS[19] invalid thread priority
45SELF - self object set priority to 25 - RTEMS[00] successful completion
46SELF - self object set priority to original - RTEMS[00] successful completion, priority was 25
47TA1  - get note - RTEMS[00] successful completion, note is 0
48TA1  - get with bad notepad number - RTEMS[10] number was invalid, note is 0
49TA1  - set note to 0xDEADBEEF - RTEMS[00] successful completion
50TA1  - get note - RTEMS[00] successful completion, note is 0xDEADBEEF
51TA1  - set note to original value - RTEMS[00] successful completion
52TA1  - connected object get note - RTEMS[00] successful completion, notepad is 0
53TA1  - connected object get with bad notepad number - RTEMS[10] number was invalid, note is 0
54TA1  - connected object set note to 0xDEADBEEF - RTEMS[00] successful completion
55TA1  - connected object get note - RTEMS[00] successful completion, note is 0xDEADBEEF
56TA1  - connected object set note to original value - RTEMS[00] successful completion
57SELF - self object get note - RTEMS[00] successful completion, note is 0
58SELF - self object get with bad notepad number - RTEMS[10] number was invalid, note is 0
59SELF - self object set note to 0xDEADBEEF - RTEMS[00] successful completion
60SELF - self object get note - RTEMS[00] successful completion, notepad is 0xDEADBEEF
61SELF - self object set note to original value - RTEMS[00] successful completion
62 END Task Class test
63<pause - screen 3>
64 START TaskMode Class test
65SELF - get mode - RTEMS[00] successful completion,
66         mode is 0x00000500, RTEMS_NO_PREEMPT RTEMS_NO_TIMESLICE RTEMS_ASR INTMASK=0
67SELF - get preemption state - RTEMS[00] successful completion,
68         mode is 0x00000100, RTEMS_NO_PREEMPT
69SELF - set preemption state to RTEMS_PREEMPT - RTEMS[00] successful completion,
70         mode is 0x00000400, RTEMS_PREEMPT RTEMS_TIMESLICE RTEMS_ASR INTMASK=0
71SELF - set preemption state to RTEMS_NO_PREEMPT - RTEMS[00] successful completion,
72         mode is 0x00000500, RTEMS_NO_PREEMPT RTEMS_NO_TIMESLICE RTEMS_ASR INTMASK=0
73SELF - get timeslice state - RTEMS[00] successful completion,
74         mode is 0x00000000, RTEMS_TIMESLICE
75SELF - set timeslice state to RTEMS_TIMESLICE - RTEMS[00] successful completion,
76         mode is 0x00000700, RTEMS_NO_PREEMPT RTEMS_NO_TIMESLICE RTEMS_ASR INTMASK=0
77SELF - set timeslice state to RTEMS_NO_TIMESLICE - RTEMS[00] successful completion,
78         mode is 0x00000500, RTEMS_NO_PREEMPT RTEMS_NO_TIMESLICE RTEMS_ASR INTMASK=0
79SELF - get asr state - RTEMS[00] successful completion,
80         mode is 0x00000400, RTEMS_ASR
81SELF - set asr state to RTEMS_ASR - RTEMS[00] successful completion,
82         mode is 0x00000100, RTEMS_NO_PREEMPT RTEMS_NO_TIMESLICE RTEMS_NO_ASR INTMASK=0
83SELF - set asr state to RTEMS_NO_ASR - RTEMS[00] successful completion,
84         mode is 0x00000500, RTEMS_NO_PREEMPT RTEMS_NO_TIMESLICE RTEMS_ASR INTMASK=0
85SELF - get current interrupt level - RTEMS[00] successful completion, level is 0
86SELF - set interrupt level to 102 - RTEMS[00] successful completion
87SELF - set interrupt level to original level - RTEMS[00] successful completion, level was 6
88SELF - set mode to original mode - RTEMS[00] successful completion,
89         mode is 0x00000500, RTEMS_NO_PREEMPT RTEMS_NO_TIMESLICE RTEMS_ASR INTMASK=0
90 END TaskMode Class test
91<pause - screen 4>
92 START Event Class test
93TA1  - create task 2 - RTEMS[00] successful completion
94TA1  - start task 2 - RTEMS[00] successful completion
95TA1  - construct event connecting to task 2 - RTEMS[00] successful completion
96TA2  - event no wait - RTEMS[13] request not satisfied
97TA2  - event 5 secs timeout - RTEMS[06] timed out waiting
98TA2  - event wait forever for signal 0 from TA1 ....
99TA1  - send event signal 0 using the task id - RTEMS[00] successful completion
100TA2  - RTEMS[00] successful completion, signals out are 0x00000001
101TA2  - event wait forever for signal 0 from TA1 ....
102TA1  - send event signal 0 using the task object reference - RTEMS[00] successful completion
103TA2  - RTEMS[00] successful completion, signals out are 0x00000001
104TA2  - event wait forever for signal 31 from TA1 ....
105TA1  - send event signal 31 using connected id - RTEMS[00] successful completion
106TA2  - RTEMS[00] successful completion, signals out are 0x80000000
107TA2  - event wait forever for signal 0 and 31 from TA1 ....
108TA1  - send event signal 0 and 31 - RTEMS[00] successful completion
109TA1  - waiting 5 secs for TA2 to finish
110TA2  - RTEMS[00] successful completion, signals out are 0x80000001
111TA2  - send event signal 1 - RTEMS[00] successful completion
112TA2  - event wait forever for signal 1 from TA2 - RTEMS[00] successful completion, signals out are 0x00000002
113TA2  - destroy itself
114 END Event Class test
115<pause - screen 5>
116 START Interrupt Class test
117 do not know a portable BSP type interrupt test
118 END Interrupt Class test
119<pause - screen 6>
120 START MessageQueue Class test
121TA1  - construct message queue 1 with no memory error - RTEMS[13] request not satisfied
122TA1  - construct/create message queue 2 - RTEMS[00] successful completion
123TA1  - send u1 to mq_2 - RTEMS[00] successful completion
124TA1  - urgent send u2 to mq_2 - RTEMS[00] successful completion
125TA1  - create task 3_1 - RTEMS[00] successful completion
126TA1  - start task 3_1 - RTEMS[00] successful completion
127TA1  - create task 3_2 - RTEMS[00] successful completion
128TA1  - start task 3_2 - RTEMS[00] successful completion
129TA31 - construction connect mq_2 - RTEMS[00] successful completion
130TA31 - loopback from mq_2 to mq_2 ...
131TA31 - mq_2 receive - RTEMS[00] successful completion, size=12, message string size=11
132TA31 - loopback to mq_2 - RTEMS[00] successful completion
133TA32 - construction connect mq_2 - RTEMS[00] successful completion
134TA32 - loopback from mq_2 to mq_2 ...
135TA32 - mq_2 receive - RTEMS[00] successful completion, size=12, message string size=11
136TA32 - loopback to mq_2 - RTEMS[00] successful completion
137TA1  - receive u2 on mq_2 ...
138TA1  - RTEMS[00] successful completion
139TA1  - message u2 received correctly
140TA1  - receive u1 on mq_2 ...
141TA1  - RTEMS[00] successful completion
142TA1  - message u1 received correctly
143TA31 - loopback from mq_2 to mq_2 ...
144TA32 - loopback from mq_2 to mq_2 ...
145TA1  - broadcast send b1 ...
146TA1  - mq_2 broadcast send - RTEMS[00] successful completion, count=2
147TA31 - mq_2 receive - RTEMS[00] successful completion, size=18, message string size=17
148TA31 - loopback to mq_2 - RTEMS[00] successful completion
149TA31 - destroy itself
150TA32 - mq_2 receive - RTEMS[00] successful completion, size=18, message string size=17
151TA32 - loopback to mq_2 - RTEMS[00] successful completion
152TA32 - destroy itself
153TA1  - receive message b1 on mq_2 from TA31...
154TA1  - RTEMS[00] successful completion
155TA1  - message b1 received correctly
156TA1  - receive message b1 on mq_2 from TA31...
157TA1  - RTEMS[00] successful completion
158TA1  - message b1 received correctly
159TA1  - send f1 to mq_2 - RTEMS[00] successful completion
160TA1  - send f1 to mq_2 - RTEMS[00] successful completion
161TA1  - send f1 to mq_2 - RTEMS[00] successful completion
162TA1  - flush mq_2 - RTEMS[00] successful completion, flushed=3
163 END MessageQueue Class test
164*** END OF RTEMS++ TEST ***
Note: See TracBrowser for help on using the repository browser.