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

Support hotspot_custom_target with multiple test cases #4283

Merged
merged 1 commit into from
Jan 31, 2023
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 buildenv/jenkins/testJobTemplate
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ ARCH_OS_LIST.each { ARCH_OS ->
TARGET=system_custom<br>
CUSTOM_TARGET=-test=MathLoadTest -test-args="workload=math,timeLimit=5m"<br>
Example 2:<br>
TARGET=jdk_custom (support multiple test cases separated by space<br>
TARGET=jdk_custom (support multiple test cases separated by space, hotspot_custom works same<br>
CUSTOM_TARGET=test/jdk/java/math/BigInteger/LargeValueExceptions.java java/math/BigInteger/BigIntegerTest.java<br>
Example 3:<br>
TARGET=jck_custom<br>
Expand Down
1 change: 1 addition & 0 deletions openjdk/openjdk.mk
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ JDK_CUSTOM_TARGET ?= java/math/BigInteger/BigIntegerTest.java
HOTSPOT_CUSTOM_TARGET ?= gc/stress/gclocker/TestExcessGCLockerCollections.java
LANGTOOLS_CUSTOM_TARGET ?= tools/javac/4241573/T4241573.java
FULLPATH_JDK_CUSTOM_TARGET = $(foreach target,$(JDK_CUSTOM_TARGET),$(JTREG_JDK_TEST_DIR)$(D)$(target))
FULLPATH_HOTSPOT_CUSTOM_TARGET = $(foreach target,$(HOTSPOT_CUSTOM_TARGET),$(JTREG_HOTSPOT_TEST_DIR)$(D)$(target))

JDK_NATIVE_OPTIONS :=
JVM_NATIVE_OPTIONS :=
Expand Down
2 changes: 1 addition & 1 deletion openjdk/playlist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
-w $(Q)$(REPORTDIR)$(D)work$(Q) \
-r $(Q)$(REPORTDIR)$(D)report$(Q) \
-jdk:$(Q)$(TEST_JDK_HOME)$(Q) \
$(Q)$(JTREG_HOTSPOT_TEST_DIR)$(D)$(HOTSPOT_CUSTOM_TARGET)$(Q); \
$(FULLPATH_HOTSPOT_CUSTOM_TARGET); \
$(TEST_STATUS)</command>
<levels>
<level>extended</level>
Expand Down