8189115: Pass JIB_DATA_DIR to jtreg harness
authorctornqvi
Wed, 11 Oct 2017 16:14:47 -0400
changeset 47329 43b33ee91ea0
parent 47328 d18df41954ba
child 47330 eb010905ccb7
8189115: Pass JIB_DATA_DIR to jtreg harness Reviewed-by: erikj
make/RunTests.gmk
test/TestCommon.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)
 
--- 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