2 # ---- create the test libraries ------------------------------------
4 TEST1LIB
=$(SHL1TARGETN
)
7 TEST1OPT
+=$(SHL1TARGET
).xsce
9 TEST1OPT
+=$(mktmp
"foo")
10 TEST1OPT
+="-onlyerrors"
12 TEST1OPT
+=$(TESTOPTADD
)
17 .IF
"$(SHL1TARGET)"!=""
20 @echo
----------------------------------------------------------
21 @echo
- start unit
test \
#1 on library $(TEST1LIB)
22 @echo
----------------------------------------------------------
23 .IF
"$(OS)" == "LINUX" # full path needed by osl_getModuleURLFromAddress:
24 `which testshl2` $(TEST1LIB
) $(TEST1OPT
)
26 testshl2
$(TEST1LIB
) $(TEST1OPT
)
31 # ---- create the test libraries ------------------------------------
33 TEST2LIB
=$(SHL2TARGETN
)
35 TEST2OPT
="-jobexclude"
36 TEST2OPT
+=$(SHL2TARGET
).xsce
38 TEST2OPT
+=$(mktmp
"foo")
39 TEST2OPT
+="-onlyerrors"
41 TEST2OPT
+=$(TESTOPTADD
)
46 .IF
"$(SHL2TARGET)"!=""
49 @echo
----------------------------------------------------------
50 @echo
- start unit
test \
#2 on library $(TEST2LIB)
51 @echo
----------------------------------------------------------
52 .IF
"$(OS)" == "LINUX" # full path needed by osl_getModuleURLFromAddress:
53 `which testshl2` $(TEST2LIB
) $(TEST2OPT
)
55 testshl2
$(TEST2LIB
) $(TEST2OPT
)
60 # ---- create the test libraries ------------------------------------
62 TEST3LIB
=$(SHL3TARGETN
)
64 TEST3OPT
="-jobexclude"
65 TEST3OPT
+=$(SHL3TARGET
).xsce
67 TEST3OPT
+=$(mktmp
"foo")
68 TEST3OPT
+="-onlyerrors"
70 TEST3OPT
+=$(TESTOPTADD
)
75 .IF
"$(SHL3TARGET)"!=""
78 @echo
----------------------------------------------------------
79 @echo
- start unit
test \
#3 on library $(TEST3LIB)
80 @echo
----------------------------------------------------------
81 .IF
"$(OS)" == "LINUX" # full path needed by osl_getModuleURLFromAddress:
82 `which testshl2` $(TEST3LIB
) $(TEST3OPT
)
84 testshl2
$(TEST3LIB
) $(TEST3OPT
)
89 # ---- create the test libraries ------------------------------------
91 TEST4LIB
=$(SHL4TARGETN
)
93 TEST4OPT
="-jobexclude"
94 TEST4OPT
+=$(SHL4TARGET
).xsce
96 TEST4OPT
+=$(mktmp
"foo")
97 TEST4OPT
+="-onlyerrors"
99 TEST4OPT
+=$(TESTOPTADD
)
104 .IF
"$(SHL4TARGET)"!=""
107 @echo
----------------------------------------------------------
108 @echo
- start unit
test \
#4 on library $(TEST4LIB)
109 @echo
----------------------------------------------------------
110 .IF
"$(OS)" == "LINUX" # full path needed by osl_getModuleURLFromAddress:
111 `which testshl2` $(TEST4LIB
) $(TEST4OPT
)
113 testshl2
$(TEST4LIB
) $(TEST4OPT
)
118 # ---- create the test libraries ------------------------------------
120 TEST5LIB
=$(SHL5TARGETN
)
122 TEST5OPT
="-jobexclude"
123 TEST5OPT
+=$(SHL5TARGET
).xsce
125 TEST5OPT
+=$(mktmp
"foo")
126 TEST5OPT
+="-onlyerrors"
128 TEST5OPT
+=$(TESTOPTADD
)
133 .IF
"$(SHL5TARGET)"!=""
136 @echo
----------------------------------------------------------
137 @echo
- start unit
test \
#5 on library $(TEST5LIB)
138 @echo
----------------------------------------------------------
139 .IF
"$(OS)" == "LINUX" # full path needed by osl_getModuleURLFromAddress:
140 `which testshl2` $(TEST5LIB
) $(TEST5OPT
)
142 testshl2
$(TEST5LIB
) $(TEST5OPT
)
147 # ---- create the test libraries ------------------------------------
149 TEST6LIB
=$(SHL6TARGETN
)
151 TEST6OPT
="-jobexclude"
152 TEST6OPT
+=$(SHL6TARGET
).xsce
154 TEST6OPT
+=$(mktmp
"foo")
155 TEST6OPT
+="-onlyerrors"
157 TEST6OPT
+=$(TESTOPTADD
)
162 .IF
"$(SHL6TARGET)"!=""
165 @echo
----------------------------------------------------------
166 @echo
- start unit
test \
#6 on library $(TEST6LIB)
167 @echo
----------------------------------------------------------
168 .IF
"$(OS)" == "LINUX" # full path needed by osl_getModuleURLFromAddress:
169 `which testshl2` $(TEST6LIB
) $(TEST6OPT
)
171 testshl2
$(TEST6LIB
) $(TEST6OPT
)
176 # ---- create the test libraries ------------------------------------
178 TEST7LIB
=$(SHL7TARGETN
)
180 TEST7OPT
="-jobexclude"
181 TEST7OPT
+=$(SHL7TARGET
).xsce
183 TEST7OPT
+=$(mktmp
"foo")
184 TEST7OPT
+="-onlyerrors"
186 TEST7OPT
+=$(TESTOPTADD
)
191 .IF
"$(SHL7TARGET)"!=""
194 @echo
----------------------------------------------------------
195 @echo
- start unit
test \
#7 on library $(TEST7LIB)
196 @echo
----------------------------------------------------------
197 .IF
"$(OS)" == "LINUX" # full path needed by osl_getModuleURLFromAddress:
198 `which testshl2` $(TEST7LIB
) $(TEST7OPT
)
200 testshl2
$(TEST7LIB
) $(TEST7OPT
)
205 # ---- create the test libraries ------------------------------------
207 TEST8LIB
=$(SHL8TARGETN
)
209 TEST8OPT
="-jobexclude"
210 TEST8OPT
+=$(SHL8TARGET
).xsce
212 TEST8OPT
+=$(mktmp
"foo")
213 TEST8OPT
+="-onlyerrors"
215 TEST8OPT
+=$(TESTOPTADD
)
220 .IF
"$(SHL8TARGET)"!=""
223 @echo
----------------------------------------------------------
224 @echo
- start unit
test \
#8 on library $(TEST8LIB)
225 @echo
----------------------------------------------------------
226 .IF
"$(OS)" == "LINUX" # full path needed by osl_getModuleURLFromAddress:
227 `which testshl2` $(TEST8LIB
) $(TEST8OPT
)
229 testshl2
$(TEST8LIB
) $(TEST8OPT
)
234 # ---- create the test libraries ------------------------------------
236 TEST9LIB
=$(SHL9TARGETN
)
238 TEST9OPT
="-jobexclude"
239 TEST9OPT
+=$(SHL9TARGET
).xsce
241 TEST9OPT
+=$(mktmp
"foo")
242 TEST9OPT
+="-onlyerrors"
244 TEST9OPT
+=$(TESTOPTADD
)
249 .IF
"$(SHL9TARGET)"!=""
252 @echo
----------------------------------------------------------
253 @echo
- start unit
test \
#9 on library $(TEST9LIB)
254 @echo
----------------------------------------------------------
255 .IF
"$(OS)" == "LINUX" # full path needed by osl_getModuleURLFromAddress:
256 `which testshl2` $(TEST9LIB
) $(TEST9OPT
)
258 testshl2
$(TEST9LIB
) $(TEST9OPT
)
263 # ---- create the test libraries ------------------------------------
265 TEST10LIB
=$(SHL10TARGETN
)
267 TEST10OPT
="-jobexclude"
268 TEST10OPT
+=$(SHL10TARGET
).xsce
270 TEST10OPT
+=$(mktmp
"foo")
271 TEST10OPT
+="-onlyerrors"
273 TEST10OPT
+=$(TESTOPTADD
)
278 .IF
"$(SHL10TARGET)"!=""
281 @echo
----------------------------------------------------------
282 @echo
- start unit
test \
#10 on library $(TEST10LIB)
283 @echo
----------------------------------------------------------
284 .IF
"$(OS)" == "LINUX" # full path needed by osl_getModuleURLFromAddress:
285 `which testshl2` $(TEST10LIB
) $(TEST10OPT
)
287 testshl2
$(TEST10LIB
) $(TEST10OPT
)