summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/rtems++/rtems++.scn
blob: 0ac7c9c1729724fb5ee047af3adb6ccfda9e6a58 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149


*** RTEMS++ TEST ***
INIT - Task.create() - RTEMS[19] invalid thread priority
INIT - Task.create() - RTEMS[00] successful completion
INIT - Task.create() - RTEMS[16] illegal on calling thread
INIT - Task.restart() - RTEMS[14] thread is in wrong state
INIT - Task.start(0xDEADDEAD) - RTEMS[00] successful completion
INIT - Destroy it's self
<pause - screen 1>
 START Task Class test
TA1  - test argument - argument matched
TA1  - copy constructor - local and this id's match
TA1  - copy constructor - local and this name's match
TA1  - copy operator - local and this id's match
TA1  - copy operator - local and this name's match
TA1  - not owner destroy's task - RTEMS[23] not owner of resource
TA1  - connect to a local valid task name - RTEMS[00] successful completion
TA1  - connect to an invalid task name - RTEMS[03] invalid object name
SELF - connect to a task on an invalid node - RTEMS[03] invalid object name
TA1  - restart from a non-owner - RTEMS[23] not owner of resource
<pause - screen 2>
TA1  - wake after 0 secs - RTEMS[00] successful completion
TA1  - wake after 500 msecs - RTEMS[00] successful completion
TA1  - wake after 5 secs - RTEMS[00] successful completion
TA1  - wake when - to do
TA1  - connected object wake after 0 secs - RTEMS[00] successful completion
TA1  - connected object wake after 500 msecs - RTEMS[00] successful completion
TA1  - connected object wake after 5 secs - RTEMS[00] successful completion
TA1  - connected object wake when - to do
SELF - self object wake after 0 secs - RTEMS[00] successful completion
SELF - self object wake after 500 msecs - RTEMS[00] successful completion
SELF - self object wake after 5 secs - RTEMS[00] successful completion
SELF - self object wake when - to do
TA1  - get priority - RTEMS[00] successful completion, priority is 10
TA1  - set priority to 512 - RTEMS[19] invalid thread priority
TA1  - set priority to 25 - RTEMS[00] successful completion
TA1  - set priority to original - RTEMS[00] successful completion, priority was 25
TA1  - connected object get priority - RTEMS[00] successful completion, priority is 10
TA1  - connected object set priority to 512 - RTEMS[19] invalid thread priority
TA1  - connected object set priority to 25 - RTEMS[00] successful completion
TA1  - connected object set priority to original - RTEMS[00] successful completion, priority was 25
SELF - self object get priority - RTEMS[00] successful completion, priority is 10
SELF - self object set priority to 512 - RTEMS[19] invalid thread priority
SELF - self object set priority to 25 - RTEMS[00] successful completion
SELF - self object set priority to original - RTEMS[00] successful completion, priority was 25
 END Task Class test
<pause - screen 3>
 START TaskMode Class test
SELF - get mode - RTEMS[00] successful completion,
         mode is 0x00000500, RTEMS_NO_PREEMPT RTEMS_NO_TIMESLICE RTEMS_ASR INTMASK=0
SELF - get preemption state - RTEMS[00] successful completion,
         mode is 0x00000100, RTEMS_NO_PREEMPT
SELF - set preemption state to RTEMS_PREEMPT - RTEMS[00] successful completion,
         mode is 0x00000400, RTEMS_PREEMPT RTEMS_TIMESLICE RTEMS_ASR INTMASK=0
SELF - set preemption state to RTEMS_NO_PREEMPT - RTEMS[00] successful completion,
         mode is 0x00000500, RTEMS_NO_PREEMPT RTEMS_NO_TIMESLICE RTEMS_ASR INTMASK=0
SELF - get timeslice state - RTEMS[00] successful completion,
         mode is 0x00000000, RTEMS_TIMESLICE
SELF - set timeslice state to RTEMS_TIMESLICE - RTEMS[00] successful completion,
         mode is 0x00000700, RTEMS_NO_PREEMPT RTEMS_NO_TIMESLICE RTEMS_ASR INTMASK=0
SELF - set timeslice state to RTEMS_NO_TIMESLICE - RTEMS[00] successful completion,
         mode is 0x00000500, RTEMS_NO_PREEMPT RTEMS_NO_TIMESLICE RTEMS_ASR INTMASK=0
SELF - get asr state - RTEMS[00] successful completion,
         mode is 0x00000400, RTEMS_ASR
SELF - set asr state to RTEMS_ASR - RTEMS[00] successful completion,
         mode is 0x00000100, RTEMS_NO_PREEMPT RTEMS_NO_TIMESLICE RTEMS_NO_ASR INTMASK=0
SELF - set asr state to RTEMS_NO_ASR - RTEMS[00] successful completion,
         mode is 0x00000500, RTEMS_NO_PREEMPT RTEMS_NO_TIMESLICE RTEMS_ASR INTMASK=0
SELF - get current interrupt level - RTEMS[00] successful completion, level is 0
SELF - set interrupt level to 102 - RTEMS[00] successful completion
SELF - set interrupt level to original level - RTEMS[00] successful completion, level was 6
SELF - set mode to original mode - RTEMS[00] successful completion,
         mode is 0x00000500, RTEMS_NO_PREEMPT RTEMS_NO_TIMESLICE RTEMS_ASR INTMASK=0
 END TaskMode Class test
<pause - screen 4>
 START Event Class test
TA1  - create task 2 - RTEMS[00] successful completion
TA1  - start task 2 - RTEMS[00] successful completion
TA1  - construct event connecting to task 2 - RTEMS[00] successful completion
TA2  - event no wait - RTEMS[13] request not satisfied
TA2  - event 5 secs timeout - RTEMS[06] timed out waiting
TA2  - event wait forever for signal 0 from TA1 ....
TA1  - send event signal 0 using the task id - RTEMS[00] successful completion
TA2  - RTEMS[00] successful completion, signals out are 0x00000001
TA2  - event wait forever for signal 0 from TA1 ....
TA1  - send event signal 0 using the task object reference - RTEMS[00] successful completion
TA2  - RTEMS[00] successful completion, signals out are 0x00000001
TA2  - event wait forever for signal 31 from TA1 ....
TA1  - send event signal 31 using connected id - RTEMS[00] successful completion
TA2  - RTEMS[00] successful completion, signals out are 0x80000000
TA2  - event wait forever for signal 0 and 31 from TA1 ....
TA1  - send event signal 0 and 31 - RTEMS[00] successful completion
TA1  - waiting 5 secs for TA2 to finish
TA2  - RTEMS[00] successful completion, signals out are 0x80000001
TA2  - send event signal 1 - RTEMS[00] successful completion
TA2  - event wait forever for signal 1 from TA2 - RTEMS[00] successful completion, signals out are 0x00000002
TA2  - destroy itself
 END Event Class test
<pause - screen 5>
 START Interrupt Class test
 do not know a portable BSP type interrupt test
 END Interrupt Class test
<pause - screen 6>
 START MessageQueue Class test
TA1  - construct message queue 1 with no memory error - RTEMS[13] request not satisfied
TA1  - construct/create message queue 2 - RTEMS[00] successful completion
TA1  - send u1 to mq_2 - RTEMS[00] successful completion
TA1  - urgent send u2 to mq_2 - RTEMS[00] successful completion
TA1  - create task 3_1 - RTEMS[00] successful completion
TA1  - start task 3_1 - RTEMS[00] successful completion
TA1  - create task 3_2 - RTEMS[00] successful completion
TA1  - start task 3_2 - RTEMS[00] successful completion
TA31 - construction connect mq_2 - RTEMS[00] successful completion
TA31 - loopback from mq_2 to mq_2 ...
TA31 - mq_2 receive - RTEMS[00] successful completion, size=12, message string size=11
TA31 - loopback to mq_2 - RTEMS[00] successful completion
TA32 - construction connect mq_2 - RTEMS[00] successful completion
TA32 - loopback from mq_2 to mq_2 ...
TA32 - mq_2 receive - RTEMS[00] successful completion, size=12, message string size=11
TA32 - loopback to mq_2 - RTEMS[00] successful completion
TA1  - receive u2 on mq_2 ...
TA1  - RTEMS[00] successful completion
TA1  - message u2 received correctly
TA1  - receive u1 on mq_2 ...
TA1  - RTEMS[00] successful completion
TA1  - message u1 received correctly
TA31 - loopback from mq_2 to mq_2 ...
TA32 - loopback from mq_2 to mq_2 ...
TA1  - broadcast send b1 ...
TA1  - mq_2 broadcast send - RTEMS[00] successful completion, count=2
TA31 - mq_2 receive - RTEMS[00] successful completion, size=18, message string size=17
TA31 - loopback to mq_2 - RTEMS[00] successful completion
TA31 - destroy itself
TA32 - mq_2 receive - RTEMS[00] successful completion, size=18, message string size=17
TA32 - loopback to mq_2 - RTEMS[00] successful completion
TA32 - destroy itself
TA1  - receive message b1 on mq_2 from TA31...
TA1  - RTEMS[00] successful completion
TA1  - message b1 received correctly
TA1  - receive message b1 on mq_2 from TA31...
TA1  - RTEMS[00] successful completion
TA1  - message b1 received correctly
TA1  - send f1 to mq_2 - RTEMS[00] successful completion
TA1  - send f1 to mq_2 - RTEMS[00] successful completion
TA1  - send f1 to mq_2 - RTEMS[00] successful completion
TA1  - flush mq_2 - RTEMS[00] successful completion, flushed=3
 END MessageQueue Class test
*** END OF RTEMS++ TEST ***