Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace JAVA_BIN with TEST_JDK_HOME #5744

Merged
merged 1 commit into from
May 13, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Linux x86-64 cmprssptrs OpenJ9 SDK:

```
cd openj9/test/TestConfig
export JAVA_BIN=/my/openj9/sdk/bin
export TEST_JDK_HOME=/my/openj9/jdk
make -f run_configure.mk // generates makefiles
make compile // downloads test related material/libs
// and compiles test material
Expand Down
4 changes: 2 additions & 2 deletions test/TestConfig/makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
##############################################################################
# Copyright (c) 2016, 2018 IBM Corp. and others
# Copyright (c) 2016, 2019 IBM Corp. and others
#
# This program and the accompanying materials are made available under
# the terms of the Eclipse Public License 2.0 which accompanies this
Expand Down Expand Up @@ -79,4 +79,4 @@ getdependency:
# compile all tests under $(TEST_ROOT)
#######################################
compile: getdependency
ant -f scripts$(D)build_test.xml -DTEST_ROOT=$(TEST_ROOT) -DBUILD_ROOT=$(BUILD_ROOT) -DJAVA_BIN=$(JAVA_BIN) -DJDK_VERSION=$(JDK_VERSION) -DJCL_VERSION=$(JCL_VERSION) -DBUILD_LIST=${BUILD_LIST} -DRESOURCES_DIR=${RESOURCES_DIR} -DPLATFORM=${PLATFORM} -DJDK_HOME=${JDK_HOME} -DJVM_VERSION=$(JVM_VERSION)
ant -f scripts$(D)build_test.xml -DTEST_ROOT=$(TEST_ROOT) -DBUILD_ROOT=$(BUILD_ROOT) -DJAVA_BIN=$(JAVA_BIN) -DJDK_VERSION=$(JDK_VERSION) -DJCL_VERSION=$(JCL_VERSION) -DBUILD_LIST=${BUILD_LIST} -DRESOURCES_DIR=${RESOURCES_DIR} -DPLATFORM=${PLATFORM} -DTEST_JDK_HOME=${TEST_JDK_HOME} -DJVM_VERSION=$(JVM_VERSION)
2 changes: 1 addition & 1 deletion test/TestConfig/openj9Settings.mk
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ else ifneq (,$(findstring linux_x86,$(SPEC)))
endif

ifndef NATIVE_TEST_LIBS
NATIVE_TEST_LIBS=$(JDK_HOME)$(D)..$(D)native-test-libs$(D)
NATIVE_TEST_LIBS=$(TEST_JDK_HOME)$(D)..$(D)native-test-libs$(D)
endif

# if JCL_VESION is current check for default locations for native test libs
Expand Down
9 changes: 5 additions & 4 deletions test/TestConfig/run_configure.mk
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,16 @@

.PHONY: testconfig

JAVAC=${JAVA_BIN}/javac
ifneq (,$(findstring jre,$(JAVA_BIN)))
JAVAC=${JAVA_BIN}/../../bin/javac
ifndef TEST_JDK_HOME
$(error Please provide TEST_JDK_HOME value.)
else
export TEST_JDK_HOME:=$(subst \,/,$(TEST_JDK_HOME))
endif

testconfig:
ifneq ($(AUTO_DETECT), false)
@echo "AUTO_DETECT is set to true"
ant -f ./src/build_envInfo.xml -DJAVA_BIN=$(JAVA_BIN) -DJAVAC=$(JAVAC)
ant -f ./src/build_envInfo.xml -DTEST_JDK_HOME=$(TEST_JDK_HOME)
else
@echo "AUTO_DETECT is set to false"
endif
Expand Down
54 changes: 30 additions & 24 deletions test/TestConfig/settings.mk
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,14 @@
help:
@echo "This makefile is used to build and execute JVM tests. You should specify the following"
@echo "variables before using this script:"
@echo "JAVA_BIN Path to java bin dir which will be used to built and executed JVM tests"
@echo "SPEC Should match the current platform (e.g. SPEC=linux_x86-64, SPEC=linux_x86)"
@echo "required:"
@echo " TEST_JDK_HOME=<path to JDK home directory that you wish to test>"
@echo " BUILD_LIST=<comma separated projects to be compiled and executed> (default to all projects)"
@echo "optional:"
@echo " SPEC=[linux_x86-64|linux_x86-64_cmprssptrs|...] (platform on which to test, could be auto detected)"
@echo " JDK_VERSION=[8|9|10|11|12|Panama|Valhalla] (default to 8, could be auto detected)"
@echo " JDK_IMPL=[openj9|ibm|hotspot|sap] (default to openj9, could be auto detected)"
@echo " NATIVE_TEST_LIBS=<path to native test libraries> (default to native-test-libs folder at the same level as TEST_JDK_HOME)"

CD = cd
ECHO = echo
Expand All @@ -49,19 +55,6 @@ include $(TEST_ROOT)$(D)TestConfig$(D)utils.mk
include $(TEST_ROOT)$(D)TestConfig$(D)testEnv.mk
include $(TEST_ROOT)$(D)TestConfig$(D)featureSettings.mk


ifndef JAVA_BIN
$(error Please provide JAVA_BIN value.)
else
export JAVA_BIN:=$(subst \,/,$(JAVA_BIN))
endif

ifndef SPEC
$(error Please provide SPEC that matches the current platform (e.g. SPEC=linux_x86-64))
else
export SPEC:=$(SPEC)
endif

# temporarily support both JAVA_VERSION and JDK_VERSION
ifeq ($(JAVA_VERSION), SE80)
JDK_VERSION:=8
Expand All @@ -88,6 +81,27 @@ else
export JDK_VERSION:=$(JDK_VERSION)
endif

ifndef TEST_JDK_HOME
$(error Please provide TEST_JDK_HOME value.)
else
export TEST_JDK_HOME := $(subst \,/,$(TEST_JDK_HOME))
endif

ifeq ($(JDK_VERSION), 8)
export JAVA_BIN := $(TEST_JDK_HOME)/jre/bin
else
export JAVA_BIN := $(TEST_JDK_HOME)/bin
endif

OLD_JAVA_HOME := $(JAVA_HOME)
export JAVA_HOME := $(TEST_JDK_HOME)

ifndef SPEC
$(error Please provide SPEC that matches the current platform (e.g. SPEC=linux_x86-64))
else
export SPEC:=$(SPEC)
endif

# temporarily support both JAVA_IMPL and JDK_IMPL
ifndef JDK_IMPL
ifndef JAVA_IMPL
Expand Down Expand Up @@ -145,15 +159,7 @@ endif
JVM_TEST_ROOT = $(BUILD_ROOT)
TEST_GROUP=level.*

# removing "
JAVA_BIN_TMP := $(subst ",,$(JAVA_BIN))
JDK_HOME := $(JAVA_BIN_TMP)$(D)..
ifeq ($(JDK_VERSION),8)
JDK_HOME := $(JAVA_BIN_TMP)$(D)..$(D)..
endif

OLD_JAVA_HOME := $(JAVA_HOME)
export JAVA_HOME := $(JDK_HOME)

#######################################
# Set OS, ARCH and BITS based on SPEC
Expand Down Expand Up @@ -182,7 +188,7 @@ ifneq ($(DEBUG),)
$(info DEFAULT_EXCLUDE is set to $(DEFAULT_EXCLUDE))
endif

JAVA_COMMAND:=$(Q)$(JAVA_BIN_TMP)$(D)java$(Q)
JAVA_COMMAND:=$(Q)$(JAVA_BIN)$(D)java$(Q)

#######################################
# common dir and jars
Expand Down
9 changes: 5 additions & 4 deletions test/TestConfig/src/build_envInfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@
<target name="compile" depends="init" description="Using java ${JDK_VERSION} to compile the source ">
<echo>Ant version is ${ant.version}</echo>
<echo>============COMPILER SETTINGS============</echo>
<echo>===fork: yes</echo>
<echo>===debug: on</echo>
<javac srcdir="${src}" destdir="${build}" debug="true" fork="true" executable="${JAVAC}" includeAntRuntime="false" encoding="ISO-8859-1"/>
<echo>===fork: yes</echo>
<echo>===debug: on</echo>
<javac srcdir="${src}" destdir="${build}" debug="true" fork="true" executable="${TEST_JDK_HOME}/bin/javac" includeAntRuntime="false" encoding="ISO-8859-1"/>

</target>

<target name="dist" depends="compile" description="generate the distribution">
Expand All @@ -52,7 +53,7 @@
</target>

<target name="run" depends="dist">
<property name="javaexecutable.java" value="${JAVA_BIN}/java" />
<property name="javaexecutable.java" value="${TEST_JDK_HOME}/bin/java" />
<java jar="./EnvDetector.jar" fork="true" failonerror="true" jvm="${javaexecutable.java}">
<arg value="JavaInfo"/>
</java>
Expand Down
6 changes: 3 additions & 3 deletions test/docs/OpenJ9TestUserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ run tests. Details are explained in *Tasks in OpenJ9 Test* section below.

```
cd openj9/test/TestConfig
export JAVA_BIN=<path to JDK bin directory that you wish to test>
export TEST_JDK_HOME=<path to JDK directory that you wish to test>
export SPEC=linux_x86-64_cmprssptrs
make -f run_configure.mk
make _sanity
Expand All @@ -47,15 +47,15 @@ tools should be installed on your test machine to run tests.

required:
```
JAVA_BIN=<path to JDK bin directory that you wish to test>
TEST_JDK_HOME=<path to JDK directory that you wish to test>
BUILD_LIST=<comma separated projects to be compiled and executed> (default to all projects)
```
optional:
```
SPEC=[linux_x86-64|linux_x86-64_cmprssptrs|...] (platform on which to test, could be auto detected)
JDK_VERSION=[8|9|10|11|12|Panama|Valhalla] (8 default value, could be auto detected)
JDK_IMPL=[openj9|ibm|hotspot|sap] (openj9 default value, could be auto detected)
NATIVE_TEST_LIBS=<path to native test libraries> (default to native-test-libs folder at same level as JDK_HOME)
NATIVE_TEST_LIBS=<path to native test libraries> (default to native-test-libs folder at same level as TEST_JDK_HOME)
```
* auto detection:

Expand Down
4 changes: 2 additions & 2 deletions test/functional/DDR_Test/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0 WITH Classpath-excepti
<if>
<equals arg1="${JDK_VERSION}" arg2="8" />
<then>
<property name="j9ddr" location="${JDK_HOME}/jre/lib/ddr/j9ddr.jar" />
<property name="j9ddr" location="${TEST_JDK_HOME}/jre/lib/ddr/j9ddr.jar" />
</then>
<else>
<property name="j9ddr" location="${JDK_HOME}/lib/ddr/j9ddr.jar" />
<property name="j9ddr" location="${TEST_JDK_HOME}/lib/ddr/j9ddr.jar" />
</else>
</if>

Expand Down
14 changes: 7 additions & 7 deletions test/functional/DDR_Test/playlist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0 WITH Classpath-excepti
<playlist xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../TestConfig/playlist.xsd">
<test>
<testCaseName>testDDRExt_General_ibm</testCaseName>
<command>ant -DJAVA_COMMAND=$(JAVA_COMMAND) -DTEST_ROOT=${TEST_ROOT} -DJDK_HOME=${JDK_HOME} -DJDK_VERSION=${JDK_VERSION} \
<command>ant -DJAVA_COMMAND=$(JAVA_COMMAND) -DTEST_ROOT=${TEST_ROOT} -DTEST_JDK_HOME=${TEST_JDK_HOME} -DJDK_VERSION=${JDK_VERSION} \
-DTEST_RESROOT=$(TEST_RESROOT) -DRESOURCES_DIR=${RESOURCES_DIR} -DREPORTDIR=${REPORTDIR} -DOS=${OS} -DBITS=$(BITS) \
-Dtest.list=$(Q)TestDDRExtensionGeneral$(Q) -DADDITIONALEXPORTS=-showversion -f $(Q)$(TEST_RESROOT)$(D)tck_ddrext.xml$(Q); \
$(TEST_STATUS)</command>
Expand All @@ -41,7 +41,7 @@ SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0 WITH Classpath-excepti

<test>
<testCaseName>testDDRExt_General_openj9</testCaseName>
<command>ant -DJAVA_COMMAND=$(JAVA_COMMAND) -DTEST_ROOT=${TEST_ROOT} -DJDK_HOME=${JDK_HOME} -DJDK_VERSION=${JDK_VERSION} \
<command>ant -DJAVA_COMMAND=$(JAVA_COMMAND) -DTEST_ROOT=${TEST_ROOT} -DTEST_JDK_HOME=${TEST_JDK_HOME} -DJDK_VERSION=${JDK_VERSION} \
-DTEST_RESROOT=$(TEST_RESROOT) -DRESOURCES_DIR=${RESOURCES_DIR} -DREPORTDIR=${REPORTDIR} -DOS=${OS} -DBITS=$(BITS) \
-Dtest.list=$(Q)TestDDRExtensionGeneral$(Q) -DADDITIONALEXPORTS=-showversion -f $(Q)$(TEST_RESROOT)$(D)tck_ddrext.xml$(Q); \
$(TEST_STATUS)</command>
Expand All @@ -60,7 +60,7 @@ SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0 WITH Classpath-excepti

<test>
<testCaseName>testDDRExt_General_win</testCaseName>
<command>ant -DJAVA_COMMAND=$(JAVA_COMMAND) -DTEST_ROOT=${TEST_ROOT} -DJDK_HOME=${JDK_HOME} -DJDK_VERSION=${JDK_VERSION} \
<command>ant -DJAVA_COMMAND=$(JAVA_COMMAND) -DTEST_ROOT=${TEST_ROOT} -DTEST_JDK_HOME=${TEST_JDK_HOME} -DJDK_VERSION=${JDK_VERSION} \
-DTEST_RESROOT=$(TEST_RESROOT) -DRESOURCES_DIR=${RESOURCES_DIR} -DREPORTDIR=${REPORTDIR} -DOS=${OS} -DBITS=$(BITS) \
-Dtest.list=$(Q)TestDDRExtensionGeneral$(Q) -DADDITIONALEXPORTS=-showversion -f $(Q)$(TEST_RESROOT)$(D)tck_ddrext.xml$(Q); \
$(TEST_STATUS)</command>
Expand All @@ -77,9 +77,9 @@ SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0 WITH Classpath-excepti
</impls>
</test>

<test>
<test>
<testCaseName>testDDRExt_Callsites_ibm</testCaseName>
<command>ant -DJAVA_COMMAND=$(JAVA_COMMAND) -DTEST_ROOT=${TEST_ROOT} -DJDK_HOME=${JDK_HOME} -DJDK_VERSION=${JDK_VERSION} \
<command>ant -DJAVA_COMMAND=$(JAVA_COMMAND) -DTEST_ROOT=${TEST_ROOT} -DJTEST_JDK_HOME=${TEST_JDK_HOME} -DJDK_VERSION=${JDK_VERSION} \
-DTEST_RESROOT=$(TEST_RESROOT) -DRESOURCES_DIR=${RESOURCES_DIR} -DREPORTDIR=${REPORTDIR} -DOS=${OS} -DBITS=$(BITS) \
-Dtest.list=$(Q)TestCallsites$(Q) -DADDITIONALEXPORTS=-showversion -f $(Q)$(TEST_RESROOT)$(D)tck_ddrext.xml$(Q); \
$(TEST_STATUS)</command>
Expand All @@ -97,7 +97,7 @@ SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0 WITH Classpath-excepti

<test>
<testCaseName>testDDRExt_Callsites_openj9</testCaseName>
<command>ant -DJAVA_COMMAND=$(JAVA_COMMAND) -DTEST_ROOT=${TEST_ROOT} -DJDK_HOME=${JDK_HOME} -DJDK_VERSION=${JDK_VERSION} \
<command>ant -DJAVA_COMMAND=$(JAVA_COMMAND) -DTEST_ROOT=${TEST_ROOT} -DTEST_JDK_HOME=${TEST_JDK_HOME} -DJDK_VERSION=${JDK_VERSION} \
-DTEST_RESROOT=$(TEST_RESROOT) -DRESOURCES_DIR=${RESOURCES_DIR} -DREPORTDIR=${REPORTDIR} -DOS=${OS} -DBITS=$(BITS) \
-Dtest.list=$(Q)TestCallsites$(Q) -DADDITIONALEXPORTS=-showversion -f $(Q)$(TEST_RESROOT)$(D)tck_ddrext.xml$(Q); \
$(TEST_STATUS)</command>
Expand All @@ -116,7 +116,7 @@ SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0 WITH Classpath-excepti

<test>
<testCaseName>testDDRExt_Callsites_win</testCaseName>
<command>ant -DJAVA_COMMAND=$(JAVA_COMMAND) -DTEST_ROOT=${TEST_ROOT} -DJDK_HOME=${JDK_HOME} -DJDK_VERSION=${JDK_VERSION} \
<command>ant -DJAVA_COMMAND=$(JAVA_COMMAND) -DTEST_ROOT=${TEST_ROOT} -DTEST_JDK_HOME=${TEST_JDK_HOME} -DJDK_VERSION=${JDK_VERSION} \
-DTEST_RESROOT=$(TEST_RESROOT) -DRESOURCES_DIR=${RESOURCES_DIR} -DREPORTDIR=${REPORTDIR} -DOS=${OS} -DBITS=$(BITS) \
-Dtest.list=$(Q)TestCallsites$(Q) -DADDITIONALEXPORTS=-showversion -f $(Q)$(TEST_RESROOT)$(D)tck_ddrext.xml$(Q); \
$(TEST_STATUS)</command>
Expand Down
6 changes: 3 additions & 3 deletions test/functional/DDR_Test/tck_ddrext.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@ SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0 WITH Classpath-excepti

<property name="JAVA_COMMAND" value="${JAVA_COMMAND}" />
<property name="TEST_ROOT" value="${TEST_ROOT}" />
<property name="JDK_HOME" value="${JDK_HOME}" />
<property name="TEST_JDK_HOME" value="${TEST_JDK_HOME}" />
<property name="TEST_RESROOT" value="${TEST_RESROOT}" />
<property name="REPORTDIR" value="${REPORTDIR}" />
<property name="JDK_VERSION" value="${JDK_VERSION}" />
<if>
<equals arg1="${JDK_VERSION}" arg2="8"/>
<then>
<property name="j9ddr" location="${JDK_HOME}/jre/lib/ddr/j9ddr.jar" />
<property name="j9ddr" location="${TEST_JDK_HOME}/jre/lib/ddr/j9ddr.jar" />
</then>
<else>
<property name="j9ddr" location="${JDK_HOME}/lib/ddr/j9ddr.jar" />
<property name="j9ddr" location="${TEST_JDK_HOME}/lib/ddr/j9ddr.jar" />
</else>
</if>
<property name="dump.name" value="DDREXT.J9CORE.DMP" />
Expand Down
16 changes: 8 additions & 8 deletions test/functional/Java8andUp/playlist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
<test>
<testCaseName>AttachAPISanity_SE80</testCaseName>
<command>$(JAVA_COMMAND) $(JVM_OPTIONS) \
-cp $(Q)$(RESOURCES_DIR)$(P)$(TESTNG)$(P)$(JDK_HOME)$(D)lib$(D)tools.jar$(P)$(TEST_RESROOT)$(D)GeneralTest.jar$(Q) \
-cp $(Q)$(RESOURCES_DIR)$(P)$(TESTNG)$(P)$(TEST_JDK_HOME)$(D)lib$(D)tools.jar$(P)$(TEST_RESROOT)$(D)GeneralTest.jar$(Q) \
-Dcom.ibm.tools.attach.enable=yes \
-Dcom.ibm.tools.attach.timeout=15000 \
org.testng.TestNG -d $(REPORTDIR) $(Q)$(TEST_RESROOT)$(D)testng.xml$(Q) -testnames AttachAPISanity \
Expand Down Expand Up @@ -183,7 +183,7 @@
<testCaseName>TestAttachAPI_SE80</testCaseName>
<command>$(ADD_JVM_LIB_DIR_TO_LIBPATH) \
$(JAVA_COMMAND) $(JVM_OPTIONS) \
-cp $(Q)$(RESOURCES_DIR)$(P)$(TESTNG)$(P)$(JDK_HOME)$(D)lib$(D)tools.jar$(P)$(TEST_RESROOT)$(D)GeneralTest.jar$(Q) \
-cp $(Q)$(RESOURCES_DIR)$(P)$(TESTNG)$(P)$(TEST_JDK_HOME)$(D)lib$(D)tools.jar$(P)$(TEST_RESROOT)$(D)GeneralTest.jar$(Q) \
-Dcom.ibm.tools.attach.enable=yes \
-Dcom.ibm.tools.attach.timeout=15000 \
org.testng.TestNG -d $(REPORTDIR) $(Q)$(TEST_RESROOT)$(D)testng.xml$(Q) -testnames TestAttachAPI \
Expand Down Expand Up @@ -226,7 +226,7 @@
<test>
<testCaseName>TestAttachAPIEnabling_SE80</testCaseName>
<command>$(JAVA_COMMAND) $(JVM_OPTIONS) \
-cp $(Q)$(RESOURCES_DIR)$(P)$(TESTNG)$(P)$(JDK_HOME)$(D)lib$(D)tools.jar$(P)$(TEST_RESROOT)$(D)GeneralTest.jar$(Q) \
-cp $(Q)$(RESOURCES_DIR)$(P)$(TESTNG)$(P)$(TEST_JDK_HOME)$(D)lib$(D)tools.jar$(P)$(TEST_RESROOT)$(D)GeneralTest.jar$(Q) \
org.testng.TestNG -d $(REPORTDIR) $(Q)$(TEST_RESROOT)$(D)testng.xml$(Q) -testnames TestAttachAPIEnabling \
-groups $(TEST_GROUP) \
-excludegroups $(DEFAULT_EXCLUDE); \
Expand Down Expand Up @@ -267,7 +267,7 @@
<test>
<testCaseName>TestAttachErrorHandling_SE80</testCaseName>
<command>$(JAVA_COMMAND) $(JVM_OPTIONS) \
-cp $(Q)$(RESOURCES_DIR)$(P)$(JDK_HOME)$(D)lib$(D)tools.jar$(P)$(TESTNG)$(P)$(TEST_RESROOT)$(D)GeneralTest.jar$(Q) \
-cp $(Q)$(RESOURCES_DIR)$(P)$(TEST_JDK_HOME)$(D)lib$(D)tools.jar$(P)$(TESTNG)$(P)$(TEST_RESROOT)$(D)GeneralTest.jar$(Q) \
-Dcom.ibm.tools.attach.enable=yes \
-Dcom.ibm.tools.attach.timeout=15000 \
org.testng.TestNG -d $(REPORTDIR) $(Q)$(TEST_RESROOT)$(D)testng.xml$(Q) -testnames TestAttachErrorHandling \
Expand Down Expand Up @@ -310,7 +310,7 @@
<testCaseName>TestSunAttachClasses_SE80</testCaseName>
<command>$(ADD_JVM_LIB_DIR_TO_LIBPATH) \
$(JAVA_COMMAND) $(JVM_OPTIONS) \
-cp $(Q)$(RESOURCES_DIR)$(P)$(TESTNG)$(P)$(JDK_HOME)$(D)lib$(D)tools.jar$(P)$(TEST_RESROOT)$(D)GeneralTest.jar$(Q) \
-cp $(Q)$(RESOURCES_DIR)$(P)$(TESTNG)$(P)$(TEST_JDK_HOME)$(D)lib$(D)tools.jar$(P)$(TEST_RESROOT)$(D)GeneralTest.jar$(Q) \
-Dcom.ibm.tools.attach.enable=yes \
-Dcom.ibm.tools.attach.timeout=15000 \
org.testng.TestNG -d $(REPORTDIR) $(Q)$(TEST_RESROOT)$(D)testng.xml$(Q) -testnames TestSunAttachClasses \
Expand Down Expand Up @@ -354,7 +354,7 @@
<test>
<testCaseName>TestManagementAgent_SE80</testCaseName>
<command>$(JAVA_COMMAND) $(JVM_OPTIONS) \
-cp $(Q)$(RESOURCES_DIR)$(P)$(TESTNG)$(P)$(JDK_HOME)$(D)lib$(D)tools.jar$(P)$(TEST_RESROOT)$(D)GeneralTest.jar$(Q) \
-cp $(Q)$(RESOURCES_DIR)$(P)$(TESTNG)$(P)$(TEST_JDK_HOME)$(D)lib$(D)tools.jar$(P)$(TEST_RESROOT)$(D)GeneralTest.jar$(Q) \
-Dcom.ibm.tools.attach.enable=yes \
-Dcom.ibm.tools.attach.timeout=15000 \
org.testng.TestNG -d $(REPORTDIR) $(Q)$(TEST_RESROOT)$(D)testng.xml$(Q) -testnames TestManagementAgent \
Expand Down Expand Up @@ -397,7 +397,7 @@
<test>
<testCaseName>TestJps_SE80</testCaseName>
<command>$(JAVA_COMMAND) $(JVM_OPTIONS) \
-cp $(Q)$(RESOURCES_DIR)$(P)$(TESTNG)$(P)$(JDK_HOME)$(D)lib$(D)tools.jar$(P)$(TEST_RESROOT)$(D)GeneralTest.jar$(Q) \
-cp $(Q)$(RESOURCES_DIR)$(P)$(TESTNG)$(P)$(TEST_JDK_HOME)$(D)lib$(D)tools.jar$(P)$(TEST_RESROOT)$(D)GeneralTest.jar$(Q) \
-Dcom.ibm.tools.attach.enable=yes \
-Djdk.attach.allowAttachSelf=true \
-Dcom.ibm.tools.attach.timeout=15000 \
Expand Down Expand Up @@ -447,7 +447,7 @@
<test>
<testCaseName>TestJstack_SE80</testCaseName>
<command>$(JAVA_COMMAND) $(JVM_OPTIONS) \
-cp $(Q)$(RESOURCES_DIR)$(P)$(TESTNG)$(P)$(JDK_HOME)$(D)lib$(D)tools.jar$(P)$(TEST_RESROOT)$(D)GeneralTest.jar$(Q) \
-cp $(Q)$(RESOURCES_DIR)$(P)$(TESTNG)$(P)$(TEST_JDK_HOME)$(D)lib$(D)tools.jar$(P)$(TEST_RESROOT)$(D)GeneralTest.jar$(Q) \
-Dcom.ibm.tools.attach.enable=yes \
-Djdk.attach.allowAttachSelf=true \
-Dcom.ibm.tools.attach.timeout=15000 \
Expand Down
2 changes: 1 addition & 1 deletion test/functional/VM_Test/playlist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<command>$(ADD_JVM_LIB_DIR_TO_LIBPATH) \
$(JAVA_COMMAND) $(JVM_OPTIONS) -Xdump -Xint \
-cp $(Q)$(TEST_RESROOT)$(D)VM_Test.jar$(P)$(LIB_DIR)$(D)asm-all.jar$(Q) \
j9vm.runner.Menu A -exe=$(Q)$(JAVA_BIN_TMP)$(D)java $(JVM_OPTIONS) -Xdump$(Q) -version=$(JDK_VERSION) -jar=$(Q)$(TEST_RESROOT)$(D)VM_Test.jar$(Q) -xlist=$(Q)$(TEST_RESROOT)$(D)j9vm.xml$(Q) \
j9vm.runner.Menu A -exe=$(SQ)$(JAVA_BIN)$(D)java $(JVM_OPTIONS) -Xdump$(SQ) -version=$(JDK_VERSION) -jar=$(Q)$(TEST_RESROOT)$(D)VM_Test.jar$(Q) -xlist=$(Q)$(TEST_RESROOT)$(D)j9vm.xml$(Q) \
-xids=all,$(PLATFORM); \
$(TEST_STATUS)</command>
<levels>
Expand Down
Loading