Skip to content

Commit

Permalink
8189115: Pass JIB_DATA_DIR to jtreg harness
Browse files Browse the repository at this point in the history
Reviewed-by: erikj
  • Loading branch information
ctornqvi committed Oct 11, 2017
1 parent d761069 commit 7a1813d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions make/RunTests.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,9 @@ define SetupRunJtregTestBody

$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)

Expand Down
3 changes: 3 additions & 0 deletions test/TestCommon.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,9 @@ ifeq ($(LIMIT_JTREG_VM_MEMORY), true)
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
Expand Down

0 comments on commit 7a1813d

Please sign in to comment.