OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [tests/] [libtests/] [rtems++/] [rtems++.scn] - Blame information for rev 619

Go to most recent revision | Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.