# HG changeset patch # User ctornqvi # Date 1507752887 14400 # Node ID 43b33ee91ea082e1b32525024330d313410f1587 # Parent d18df41954ba72e430f4b40c994404aa6f4cd916 8189115: Pass JIB_DATA_DIR to jtreg harness Reviewed-by: erikj diff -r d18df41954ba -r 43b33ee91ea0 make/RunTests.gmk --- a/make/RunTests.gmk Tue Oct 10 17:02:52 2017 -0700 +++ b/make/RunTests.gmk Wed Oct 11 16:14:47 2017 -0400 @@ -351,6 +351,9 @@ $1_JTREG_BASIC_OPTIONS += -automatic -keywords:\!ignore -ignore:quiet + # Make it possible to specify the JIB_DATA_DIR for tests using the + # JIB Artifact resolver + $1_JTREG_BASIC_OPTIONS += -e:JIB_DATA_DIR # Some tests needs to find a boot JDK using the JDK8_HOME variable. $1_JTREG_BASIC_OPTIONS += -e:JDK8_HOME=$$(BOOT_JDK) diff -r d18df41954ba -r 43b33ee91ea0 test/TestCommon.gmk --- a/test/TestCommon.gmk Tue Oct 10 17:02:52 2017 -0700 +++ b/test/TestCommon.gmk Wed Oct 11 16:14:47 2017 -0400 @@ -360,6 +360,9 @@ JTREG_TESTVM_MEMORY_OPTION = -vmoption:-Xmx512m JTREG_TEST_OPTIONS += $(JTREG_TESTVM_MEMORY_OPTION) endif +# Make it possible to specify the JIB_DATA_DIR for tests using the +# JIB Artifact resolver +JTREG_BASIC_OPTIONS += -e:JIB_DATA_DIR # Give tests access to JT_JAVA, see JDK-8141609 JTREG_BASIC_OPTIONS += -e:JDK8_HOME=${JT_JAVA} # Give aot tests access to Visual Studio installation