changeset 47418:43b33ee91ea0

8189115: Pass JIB_DATA_DIR to jtreg harness Reviewed-by: erikj
author ctornqvi
date Wed, 11 Oct 2017 16:14:47 -0400
parents d18df41954ba
children eb010905ccb7
files make/RunTests.gmk test/TestCommon.gmk
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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