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

4.115
Last change on this file since e327e69 was 0074691a, checked in by Joel Sherrill <joel.sherrill@…>, on 07/31/97 at 22:13:29

Merged very large and much appreciated patch from Chris Johns
<cjohns@…>. This patch includes the ods68302 bsp,
the RTEMS++ class library, and the rtems++ test.

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