JDK-8180600: make run-test does not work with jib test dependencies
Erik Joelsson
erik.joelsson at oracle.com
Thu May 18 12:18:36 UTC 2017
The new run-test target does not work with the new jib test dependencies
feature in jdk10-hs. The fix is small, just adding JIB_JAR to the
command line for jtreg if present, as is done in make/TestCommon.gmk.
Bug: https://bugs.openjdk.java.net/browse/JDK-8180600
Patch:
diff -r 91ac8096f365 make/RunTests.gmk
--- a/make/RunTests.gmk
+++ b/make/RunTests.gmk
@@ -358,6 +358,10 @@
$1_JTREG_BASIC_OPTIONS += -nativepath:$$($1_JTREG_NATIVEPATH)
endif
+ ifneq ($(JIB_JAR), )
+ $1_JTREG_BASIC_OPTIONS += -cpa:$(JIB_JAR)
+ endif
+
run-test-$1:
$$(call LogWarn)
$$(call LogWarn, Running test '$$($1_TEST)')
/Erik
More information about the build-dev
mailing list