8317039: Enable specifying the JDK used to run jtreg

Reviewed-by: erikj
This commit is contained in:
Ludvig Janiuk
2023-10-05 07:54:34 +00:00
committed by David Holmes
parent 1ed9c76ec8
commit a250ae4d1b
4 changed files with 42 additions and 2 deletions

View File

@@ -868,7 +868,7 @@ define SetupRunJtregTestBody
$$(RM) -r $$($1_TEST_RESULTS_DIR)
$1_COMMAND_LINE := \
$$(JAVA) $$($1_JTREG_LAUNCHER_OPTIONS) \
$$(JTREG_JAVA) $$($1_JTREG_LAUNCHER_OPTIONS) \
-Dprogram=jtreg -jar $$(JT_HOME)/lib/jtreg.jar \
$$($1_JTREG_BASIC_OPTIONS) \
-testjdk:$$(JDK_UNDER_TEST) \