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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
|
#!/bin/sh -f
# $Id$
#
# This is the UNIX version of the one-button ACE tests.
# Contributed by Michael Rueger <m_rueger@SYSCOMP.DE>
IFS="|"
tmp=/tmp
run()
{
echo running $1
/bin/rm -f core log/$1.log
./$1
status=$?
if [ $status -ne 0 ]; then
echo \"$1\" FAILED with exit status $status!!!!
fi
if [ -f core ]; then
echo \"$1\" dumped core!!!!
fi
if [ -f log/$1.log ]; then
./run_tests.check log/$1.log
else
echo "No log file (log/$1.log) is present"
fi
}
echo "Starting tests..."
run Basic_Types_Test
run DLList_Test
#Atomic_Op_Test: threads not supported on this platform
#run Atomic_Op_Test # uses Atomic_Op
#TSS_Test: threads are not supported on this platform
#run TSS_Test # uses Task, Mutex, Guard
run Time_Value_Test
run High_Res_Timer_Test
run SString_Test
run Collection_Test
# SYS V IPC not supported
#run Naming_Test # uses Naming_Context, WString
run Handle_Set_Test # uses Handle_Set
run OrdMultiSet_Test
#Mem_Map_Test: mmap: Operation not applicable
#run Mem_Map_Test # uses Mem_Map
#SV_Shared_Memory_Test: SYSV IPC is not supported on this platform
#run SV_Shared_Memory_Test # uses SV_Shared_Memory, fork
#MM_Shared_Memory_Test: requires either fork or threads
#run MM_Shared_Memory_Test
run Sigset_Ops_Test # uses sigset*() functions
run Timer_Queue_Test # uses Event_Handler, Timer_Queue
run SOCK_Connector_Test # uses SOCK_Connector
#Task_Test: threads not supported on this platform
#run Task_Test # uses Thread_Manager, Task
#Thread_Manager_Test: threads not supported on this platform
#run Thread_Manager_Test # uses Thread_Manager, Task
#Thread_Pool_Test: threads not supported on this platform
#run Thread_Pool_Test # uses Thread_Manager, Task
#Future_Test: threads not supported on this platform
#run Future_Test # uses Thread_Manager, Task
#Reactors_Test: threads not supported on this platform
#run Reactors_Test # uses Task, Mutex, Reactor
#Reactor_Exceptions_Test: not correctly implemented without threads
#run Reactor_Exceptions_Test # uses Reactor and C++ exceptions
#Reactor_Notify_Test: threads not supported on this platform
#run Reactor_Notify_Test # uses Reactor's notify() method, Task
run Reactor_Timer_Test # uses Event_Handler, Reactor
#Reactor_Performance_Test: threads not supported on this platform
#run Reactor_Performance_Test # uses Event_Handler, Reactor
#Notify_Performance_Test: threads not supported on this platform
#run Notify_Performance_Test # uses Event_Handler, Reactor
#Reader_Writer_Test: threads not supported on this platform
#run Reader_Writer_Test # uses Thread_Manager, Mutex
run Priority_Reactor_Test # uses Priority_Reactor, Acceptor/Connector...
run SOCK_Test # uses Thread_Manager, SOCK_SAP
run MT_SOCK_Test # uses Thread_Manager, Acceptor/Connector
# ifdef ACE_HAS_STREAM_PIPES
#SPIPE_Test: SPIPE is not supported on this platform
#run SPIPE_Test # uses SPIPE_Acceptor/Connector, Thread_Manager
#UPIPE_SAP_Test: threads not supported on this platform
#run UPIPE_SAP_Test # uses UPIPE, Thread, Thread_Manager
#Barrier_Test: threads not supported on this platform
#run Barrier_Test # uses Service_Config, Barrier
#run CDR_Test
#Buffer_Stream_Test: threads not supported on this platform
#run Buffer_Stream_Test # uses Service_Config, Module (Stream,Task, Message_Queue)
#Priority_Buffer_Test: threads not supported on this platform
#run Priority_Buffer_Test # uses Service_Config, Message_Queue
run Recursive_Mutex_Test # uses Service_Config, Recursive_Thread_Mutex
#Time_Service_Test: uses fork
#run Time_Service_Test # uses libnetsvcs
#Tokens_Test: threads not supported on this platform
#run Tokens_Test
run Map_Manager_Test # uses Map Manager and Hash Map Manager + Forward and Reverse Map Iterators.
run Map_Test # uses Map + Forward and Reverse Map Iterators.
#Message_Queue_Notifications_Test.cpp: threads not supported on this platform
#run Message_Queue_Notifications_Test.cpp # uses Message_Queue + Reactor.
run Message_Queue_Test # uses Message_Queue + Forward and Reverse Message Queue Iterators.
run Simple_Message_Block_Test # uses Message_Block
#Message_Block_Test: threads not supported on this platform
#run Message_Block_Test # uses Message_Block and Message_Queue
#Pipe_Test: uses fork
#run Pipe_Test # uses Pipe
#Process_Mutex_Test: uses fork
#run Process_Mutex_Test # uses Process_Mutex
#Thread_Mutex_Test: threads not supported on this platform
#run Thread_Mutex_Test # uses Thread_Process_Mutex
run Process_Strategy_Test # uses ACE_Strategy_Acceptor
run Service_Config_Test # uses Service_Config
#Priority_Task_Test: threads not supported on this platform
#run Priority_Task_Test # uses Task with priorities
run IOStream_Test # uses ACE_IOStream and ACE_SOCK_Stream
run Enum_Interfaces_Test # uses ACE::get_ip_interfaces()
#Conn_Test: requires either fork or threads
#run Conn_Test # uses Thread_Manager, Acceptor/Connector, SOCK_SAP
run Upgradable_RW_Test # uses RW locks
echo "Tests complete..."
/bin/rm -f ace_pipe_name pattern $tmp/ace_temp_file $tmp/ace_temp_file2 $tmp/ace_test_file $tmp/Naming_Test*
echo; echo
ipcs
# EOF
|