Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/openj9
Path: blob/master/test/functional/CacheManagement/CacheManagement_win.xml
6000 views
1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
<!--
3
Copyright (c) 2010, 2019 IBM Corp. and others
4
5
This program and the accompanying materials are made available under
6
the terms of the Eclipse Public License 2.0 which accompanies this
7
distribution and is available at https://www.eclipse.org/legal/epl-2.0/
8
or the Apache License, Version 2.0 which accompanies this distribution and
9
is available at https://www.apache.org/licenses/LICENSE-2.0.
10
11
This Source Code may also be made available under the following
12
Secondary Licenses when the conditions for such availability set
13
forth in the Eclipse Public License, v. 2.0 are satisfied: GNU
14
General Public License, version 2 with the GNU Classpath
15
Exception [1] and GNU General Public License, version 2 with the
16
OpenJDK Assembly Exception [2].
17
18
[1] https://www.gnu.org/software/classpath/license.html
19
[2] http://openjdk.java.net/legal/assembly-exception.html
20
21
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
22
-->
23
24
<!DOCTYPE suite SYSTEM "cmdlinetester.dtd">
25
<suite id="CacheManagementTests launcher">
26
27
<!-- running locally we expect TEST_JAVA_HOME to be supplied, running on nescafe we will not be using it and rely on TESTBASE -->
28
<if testVariable="TEST_JAVA_HOME" testValue="" resultVariable="TEST_JAVA_HOME" resultValue="./testjdk/$BUILDNAME$/sdk"/>
29
<if testVariable="REFJAVAEXE" testValue="" resultVariable="REFJAVAEXE" resultValue="./refjdk/sdk/jre/bin/java"/>
30
31
<variable name="JAVAEXE" value="$TEST_JAVA_HOME$/jre/bin/java"/>
32
<envvar name="JAVAEXE" value="$TEST_JAVA_HOME$/jre/bin/java"/>
33
<envvar name="JAVACEXE" value="$TEST_JAVA_HOME$/bin/javac"/>
34
<variable name="JAVACEXE" value="$TEST_JAVA_HOME$/bin/javac"/>
35
<variable name="TESTFOLDER" value="./testsuite60/SharedClasses/CacheManagement"/>
36
37
<test id="Copy the resources across to the bin folder" timeout="600" runPath="$TESTFOLDER$">
38
<makedirectory value="bin"/>
39
<command>$JAVAEXE$ -classpath bin tests.sharedclasses.CopyResources src bin</command>
40
<return value="0"/>
41
</test>
42
43
<test id="Create the config file" timeout="600" runPath="$TESTFOLDER$">
44
<command>$JAVAEXE$ -Dcachedir=c:/temp/testCacheDir -Dtestjava=$JAVAEXE$ -Drefjava=$REFJAVAEXE$ -classpath bin tests.sharedclasses.CreateConfig</command>
45
<return value="0"/>
46
</test>
47
48
<test id="Run CacheManagement tests" timeout="600" runPath="$TESTFOLDER$">
49
<command>$JAVAEXE$ -Dconfig.properties=config.properties -classpath junit.jar;bin junit.textui.TestRunner tests.sharedclasses.options.junit.TestOptionsDefault</command>
50
<return value="0"/>
51
</test>
52
</suite>
53
54