From 7c82e09b509a67cafd67f6d2aa33756bf8755253 Mon Sep 17 00:00:00 2001 From: Magnus Ihse Bursie Date: Wed, 21 May 2025 09:23:23 +0000 Subject: [PATCH] 8357048: RunTest variables should always be assigned Reviewed-by: erikj --- make/RunTests.gmk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/make/RunTests.gmk b/make/RunTests.gmk index 95d3dee7013..12e81dba2c8 100644 --- a/make/RunTests.gmk +++ b/make/RunTests.gmk @@ -583,6 +583,8 @@ define SetMicroValue else ifneq ($3, ) $1_$2 := $3 + else + $1_$2 := endif endif endef @@ -709,6 +711,8 @@ define SetJtregValue else ifneq ($3, ) $1_$2 := $3 + else + $1_$2 := endif endif endif @@ -869,7 +873,7 @@ define SetupRunJtregTestBody # version of the JDK. $1_JTREG_BASIC_OPTIONS += -$$($1_JTREG_TEST_MODE) \ -verbose:$$(JTREG_VERBOSE) -retain:$$(JTREG_RETAIN) \ - -concurrency:$$($1_JTREG_JOBS) -timeoutFactor:$$(JTREG_TIMEOUT_FACTOR) \ + -concurrency:$$($1_JTREG_JOBS) \ -vmoption:-XX:MaxRAMPercentage=$$($1_JTREG_MAX_RAM_PERCENTAGE) \ -vmoption:-Dtest.boot.jdk="$$(BOOT_JDK)" \ -vmoption:-Djava.io.tmpdir="$$($1_TEST_TMP_DIR)" @@ -994,6 +998,7 @@ define SetupRunJtregTestBody endif JTREG_TIMEOUT_FACTOR ?= $$(JTREG_AUTO_TIMEOUT_FACTOR) + $1_JTREG_BASIC_OPTIONS += -timeoutFactor:$$(JTREG_TIMEOUT_FACTOR) clean-outputdirs-$1: $$(call LogWarn, Clean up dirs for $1)