Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/openj9
Path: blob/master/test/functional/cmdLineTests/shareClassTests/SCCommandLineOptionTests/CommandLineOptionTests.xml
6004 views
1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
3
<!--
4
Copyright (c) 2004, 2021 IBM Corp. and others
5
6
This program and the accompanying materials are made available under
7
the terms of the Eclipse Public License 2.0 which accompanies this
8
distribution and is available at https://www.eclipse.org/legal/epl-2.0/
9
or the Apache License, Version 2.0 which accompanies this distribution and
10
is available at https://www.apache.org/licenses/LICENSE-2.0.
11
12
This Source Code may also be made available under the following
13
Secondary Licenses when the conditions for such availability set
14
forth in the Eclipse Public License, v. 2.0 are satisfied: GNU
15
General Public License, version 2 with the GNU Classpath
16
Exception [1] and GNU General Public License, version 2 with the
17
OpenJDK Assembly Exception [2].
18
19
[1] https://www.gnu.org/software/classpath/license.html
20
[2] http://openjdk.java.net/legal/assembly-exception.html
21
22
SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 OR LicenseRef-GPL-2.0 WITH Assembly-exception
23
-->
24
25
<!DOCTYPE suite SYSTEM "cmdlinetester.dtd">
26
27
<!-- #### RUN TokenHelperTests SUITE #### -->
28
<suite id="Shared Classes CommandLineOptionTests Suite">
29
30
<!-- Set variables up -->
31
<variable name="JAVA_DIR" value="$TEST_JDK_HOME$/bin"/>
32
<variable name="JAVAC_DIR" value="$TEST_JDK_HOME$/bin"/>
33
<variable name="JAVA_EXE" value="$TEST_JDK_HOME$/bin/java$EXECUTABLE_SUFFIX$"/>
34
<variable name="PERL_EXE" value="perl"/>
35
<variable name="CACHE_MAX_LEN" value="64"/>
36
<variable name="PERL_EXTN" value=".pl"/>
37
38
<echo value=" "/>
39
<echo value="#######################################################"/>
40
<echo value="Running tests"/>
41
<echo value="#######################################################"/>
42
<echo value=" "/>
43
44
<!-- Run HelperCompatibilityTests -->
45
46
<exec command="$JAVA_EXE$ -Xshareclasses:destroyAll" quiet="false"/>
47
48
<test id="nameOption" timeout="600" runPath=".">
49
<command>$RUN_SCRIPT$ nameOption$SCRIPT_SUFFIX$ $JAVA_DIR$ $JAVAC_DIR$</command>
50
<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>
51
<output type="failure" caseSensitive="yes" regex="no">TEST FAILED</output>
52
<output type="failure" caseSensitive="yes" regex="no">Error:</output>
53
<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>
54
<output type="failure" caseSensitive="yes" regex="no">Exception:</output>
55
</test>
56
57
<test id="nameOption2" timeout="600" runPath=".">
58
<command>$RUN_SCRIPT$ nameOption2$SCRIPT_SUFFIX$ $JAVA_DIR$</command>
59
<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>
60
<output type="failure" caseSensitive="yes" regex="no">TEST FAILED</output>
61
<output type="failure" caseSensitive="yes" regex="no">Error:</output>
62
<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>
63
<output type="failure" caseSensitive="yes" regex="no">Exception:</output>
64
</test>
65
66
<test id="nameOption3" timeout="600" runPath=".">
67
<command>$RUN_SCRIPT$ nameOption3$SCRIPT_SUFFIX$ $JAVA_DIR$</command>
68
<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>
69
<output type="failure" caseSensitive="yes" regex="no">TEST FAILED</output>
70
<output type="failure" caseSensitive="yes" regex="no">Error:</output>
71
<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>
72
<output type="failure" caseSensitive="yes" regex="no">Exception:</output>
73
</test>
74
75
<test id="nameOption4" timeout="600" runPath=".">
76
<command>$RUN_SCRIPT$ nameOption4$SCRIPT_SUFFIX$ $JAVA_DIR$</command>
77
<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>
78
<output type="failure" caseSensitive="yes" regex="no">TEST FAILED</output>
79
<output type="failure" caseSensitive="yes" regex="no">Error:</output>
80
<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>
81
<output type="failure" caseSensitive="yes" regex="no">Exception:</output>
82
</test>
83
84
<test id="nameOption5" timeout="600" runPath=".">
85
<command>$RUN_SCRIPT$ nameOption5$SCRIPT_SUFFIX$ $JAVA_DIR$</command>
86
<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>
87
<output type="failure" caseSensitive="yes" regex="no">TEST FAILED</output>
88
<output type="failure" caseSensitive="yes" regex="no">Error:</output>
89
<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>
90
<output type="failure" caseSensitive="yes" regex="no">Exception:</output>
91
</test>
92
93
<test id="nameOption6" timeout="600" runPath=".">
94
<command>$RUN_SCRIPT$ nameOption6$SCRIPT_SUFFIX$ $JAVA_DIR$</command>
95
<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>
96
<output type="failure" caseSensitive="yes" regex="no">TEST FAILED</output>
97
<output type="failure" caseSensitive="yes" regex="no">Error:</output>
98
<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>
99
<output type="failure" caseSensitive="yes" regex="no">Exception:</output>
100
</test>
101
102
<test id="nameOption7" timeout="600" runPath=".">
103
<command>$RUN_SCRIPT$ nameOption7$SCRIPT_SUFFIX$ $JAVA_DIR$</command>
104
<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>
105
<output type="failure" caseSensitive="yes" regex="no">TEST FAILED</output>
106
<output type="failure" caseSensitive="yes" regex="no">Error:</output>
107
<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>
108
<output type="failure" caseSensitive="yes" regex="no">Exception:</output>
109
</test>
110
111
<test id="nameOption8" timeout="600" runPath=".">
112
<command>$RUN_SCRIPT$ nameOption8$SCRIPT_SUFFIX$ $JAVA_DIR$</command>
113
<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>
114
<output type="failure" caseSensitive="yes" regex="no">TEST FAILED</output>
115
<output type="failure" caseSensitive="yes" regex="no">Error:</output>
116
<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>
117
<output type="failure" caseSensitive="yes" regex="no">Exception:</output>
118
</test>
119
120
<test id="nameOption9" timeout="600" runPath=".">
121
<command>$RUN_SCRIPT$ nameOption9$SCRIPT_SUFFIX$ $JAVA_DIR$</command>
122
<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>
123
<output type="failure" caseSensitive="yes" regex="no">TEST FAILED</output>
124
<output type="failure" caseSensitive="yes" regex="no">Error:</output>
125
<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>
126
<output type="failure" caseSensitive="yes" regex="no">Exception:</output>
127
</test>
128
129
<test id="nameOption10" timeout="600" runPath=".">
130
<command>$RUN_SCRIPT$ nameOption10$SCRIPT_SUFFIX$ $JAVA_DIR$</command>
131
<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>
132
<output type="failure" caseSensitive="yes" regex="no">TEST FAILED</output>
133
<output type="failure" caseSensitive="yes" regex="no">Error:</output>
134
<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>
135
<output type="failure" caseSensitive="yes" regex="no">Exception:</output>
136
</test>
137
138
<test id="nameOption11" timeout="600" runPath=".">
139
<command>$RUN_SCRIPT$ nameOption11$SCRIPT_SUFFIX$ $JAVA_DIR$</command>
140
<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>
141
<output type="failure" caseSensitive="yes" regex="no">TEST FAILED</output>
142
<output type="failure" caseSensitive="yes" regex="no">Error:</output>
143
<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>
144
<output type="failure" caseSensitive="yes" regex="no">Exception:</output>
145
</test>
146
147
<test id="nameOption12" timeout="600" runPath=".">
148
<command>$RUN_SCRIPT$ nameOption12$SCRIPT_SUFFIX$ $JAVA_DIR$</command>
149
<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>
150
<output type="failure" caseSensitive="yes" regex="no">TEST FAILED</output>
151
<output type="failure" caseSensitive="yes" regex="no">Error:</output>
152
<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>
153
<output type="failure" caseSensitive="yes" regex="no">Exception:</output>
154
</test>
155
156
<test id="nameOption13" timeout="600" runPath=".">
157
<command>$RUN_SCRIPT$ nameOption13$SCRIPT_SUFFIX$ $JAVA_DIR$</command>
158
<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>
159
<output type="failure" caseSensitive="yes" regex="no">TEST FAILED</output>
160
<output type="failure" caseSensitive="yes" regex="no">Error:</output>
161
<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>
162
<output type="failure" caseSensitive="yes" regex="no">Exception:</output>
163
</test>
164
165
<test id="nameOption14" timeout="600" runPath=".">
166
<command>$PERL_EXE$ nameOption14$PERL_EXTN$ $JAVA_EXE$ $CACHE_MAX_LEN$</command>
167
<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>
168
<output type="failure" caseSensitive="yes" regex="no">TEST FAILED</output>
169
<output type="failure" caseSensitive="yes" regex="no">Error:</output>
170
<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>
171
<output type="failure" caseSensitive="yes" regex="no">Exception:</output>
172
</test>
173
174
<test id="nameOption15" timeout="600" runPath=".">
175
<command>$PERL_EXE$ nameOption15$PERL_EXTN$ $JAVA_EXE$ $CACHE_MAX_LEN$</command>
176
<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>
177
<output type="failure" caseSensitive="yes" regex="no">TEST FAILED</output>
178
<output type="failure" caseSensitive="yes" regex="no">Error:</output>
179
<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>
180
<output type="failure" caseSensitive="yes" regex="no">Exception:</output>
181
</test>
182
183
<test id="nameOption16" timeout="600" runPath=".">
184
<command>$PERL_EXE$ nameOption16$PERL_EXTN$ $JAVA_EXE$ $CACHE_MAX_LEN$</command>
185
<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>
186
<output type="failure" caseSensitive="yes" regex="no">TEST FAILED</output>
187
<output type="failure" caseSensitive="yes" regex="no">Error:</output>
188
<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>
189
<output type="failure" caseSensitive="yes" regex="no">Exception:</output>
190
</test>
191
192
<test id="nameOption17" timeout="600" runPath=".">
193
<command>$PERL_EXE$ nameOption17$PERL_EXTN$ $JAVA_EXE$ $CACHE_MAX_LEN$</command>
194
<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>
195
<output type="failure" caseSensitive="yes" regex="no">TEST FAILED</output>
196
<output type="failure" caseSensitive="yes" regex="no">Error:</output>
197
<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>
198
<output type="failure" caseSensitive="yes" regex="no">Exception:</output>
199
</test>
200
201
<test id="nameOption18" timeout="600" runPath=".">
202
<command>$PERL_EXE$ nameOption18$PERL_EXTN$ $JAVA_EXE$ $CACHE_MAX_LEN$</command>
203
<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>
204
<output type="failure" caseSensitive="yes" regex="no">TEST FAILED</output>
205
<output type="failure" caseSensitive="yes" regex="no">Error:</output>
206
<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>
207
<output type="failure" caseSensitive="yes" regex="no">Exception:</output>
208
</test>
209
210
<test id="nameOption19" timeout="600" runPath=".">
211
<command>$PERL_EXE$ nameOption19$PERL_EXTN$ $JAVA_EXE$ $CACHE_MAX_LEN$</command>
212
<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>
213
<output type="failure" caseSensitive="yes" regex="no">TEST FAILED</output>
214
<output type="failure" caseSensitive="yes" regex="no">Error:</output>
215
<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>
216
<output type="failure" caseSensitive="yes" regex="no">Exception:</output>
217
</test>
218
219
<test id="modifiedOption" timeout="600" runPath=".">
220
<command>$RUN_SCRIPT$ modifiedOption$SCRIPT_SUFFIX$ $JAVA_DIR$</command>
221
<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>
222
<output type="failure" caseSensitive="yes" regex="no">TEST FAILED</output>
223
<output type="failure" caseSensitive="yes" regex="no">Error:</output>
224
<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>
225
<output type="failure" caseSensitive="yes" regex="no">Exception:</output>
226
</test>
227
228
<test id="silentOption" timeout="600" runPath=".">
229
<command>$RUN_SCRIPT$ silentOption$SCRIPT_SUFFIX$ $JAVA_DIR$</command>
230
<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>
231
<output type="failure" caseSensitive="yes" regex="no">TEST FAILED</output>
232
<output type="failure" caseSensitive="yes" regex="no">Error:</output>
233
<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>
234
<output type="failure" caseSensitive="yes" regex="no">Exception:</output>
235
</test>
236
237
<test id="silentOption2" timeout="600" runPath=".">
238
<command>$RUN_SCRIPT$ silentOption2$SCRIPT_SUFFIX$ $JAVA_DIR$</command>
239
<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>
240
<output type="failure" caseSensitive="yes" regex="no">TEST FAILED</output>
241
<output type="failure" caseSensitive="yes" regex="no">Error:</output>
242
<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>
243
<output type="failure" caseSensitive="yes" regex="no">Exception:</output>
244
</test>
245
246
<test id="verboseOption" timeout="600" runPath=".">
247
<command>$RUN_SCRIPT$ verboseOption$SCRIPT_SUFFIX$ $JAVA_DIR$</command>
248
<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>
249
<output type="failure" caseSensitive="yes" regex="no">TEST FAILED</output>
250
<output type="failure" caseSensitive="yes" regex="no">Error:</output>
251
<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>
252
<output type="failure" caseSensitive="yes" regex="no">Exception:</output>
253
</test>
254
255
<test id="XscmxOption" timeout="600" runPath=".">
256
<command>$RUN_SCRIPT$ XscmxOption$SCRIPT_SUFFIX$ $JAVA_DIR$</command>
257
<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>
258
<output type="failure" caseSensitive="yes" regex="no">TEST FAILED</output>
259
<output type="failure" caseSensitive="yes" regex="no">Error:</output>
260
<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>
261
<output type="failure" caseSensitive="yes" regex="no">Exception:</output>
262
</test>
263
264
<test id="XscmxOption2" timeout="600" runPath=".">
265
<command>$RUN_SCRIPT$ XscmxOption2$SCRIPT_SUFFIX$ $JAVA_DIR$</command>
266
<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>
267
<output type="failure" caseSensitive="yes" regex="no">TEST FAILED</output>
268
<output type="failure" caseSensitive="yes" regex="no">Error:</output>
269
<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>
270
<output type="failure" caseSensitive="yes" regex="no">Exception:</output>
271
</test>
272
273
<test id="XscmxOption3" timeout="600" runPath=".">
274
<command>$RUN_SCRIPT$ XscmxOption3$SCRIPT_SUFFIX$ $JAVA_DIR$</command>
275
<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>
276
<output type="failure" caseSensitive="yes" regex="no">TEST FAILED</output>
277
<output type="failure" caseSensitive="yes" regex="no">Error:</output>
278
<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>
279
<output type="failure" caseSensitive="yes" regex="no">Exception:</output>
280
</test>
281
282
<test id="XscmxOption4" timeout="600" runPath=".">
283
<command>$RUN_SCRIPT$ XscmxOption4$SCRIPT_SUFFIX$ $JAVA_DIR$</command>
284
<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>
285
<output type="failure" caseSensitive="yes" regex="no">TEST FAILED</output>
286
<output type="failure" caseSensitive="yes" regex="no">Error:</output>
287
<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>
288
<output type="failure" caseSensitive="yes" regex="no">Exception:</output>
289
</test>
290
291
<test id="XscmxOption5" timeout="600" runPath=".">
292
<command>$RUN_SCRIPT$ XscmxOption5$SCRIPT_SUFFIX$ $JAVA_DIR$</command>
293
<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>
294
<output type="failure" caseSensitive="yes" regex="no">TEST FAILED</output>
295
<output type="failure" caseSensitive="yes" regex="no">Error:</output>
296
<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>
297
<output type="failure" caseSensitive="yes" regex="no">Exception:</output>
298
</test>
299
300
<exec command="$JAVA_EXE$ -Xshareclasses:destroyAll" quiet="false"/>
301
302
</suite>
303