From 14100d55dc822a7eb4f3e499aa9077e7ad17b2a6 Mon Sep 17 00:00:00 2001 From: Mikhailo Seledtsov Date: Mon, 27 Sep 2021 18:06:21 +0000 Subject: [PATCH] 8274170: Add hooks for custom makefiles to augment jtreg test execution Reviewed-by: erikj --- make/RunTests.gmk | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/make/RunTests.gmk b/make/RunTests.gmk index f1da577de6a..a2c8ea8101e 100644 --- a/make/RunTests.gmk +++ b/make/RunTests.gmk @@ -200,9 +200,10 @@ $(eval $(call SetTestOpt,FAILURE_HANDLER_TIMEOUT,JTREG)) $(eval $(call ParseKeywordVariable, JTREG, \ SINGLE_KEYWORDS := JOBS TIMEOUT_FACTOR FAILURE_HANDLER_TIMEOUT \ TEST_MODE ASSERT VERBOSE RETAIN MAX_MEM RUN_PROBLEM_LISTS \ - RETRY_COUNT MAX_OUTPUT, \ + RETRY_COUNT MAX_OUTPUT $(CUSTOM_JTREG_SINGLE_KEYWORDS), \ STRING_KEYWORDS := OPTIONS JAVA_OPTIONS VM_OPTIONS KEYWORDS \ - EXTRA_PROBLEM_LISTS LAUNCHER_OPTIONS, \ + EXTRA_PROBLEM_LISTS LAUNCHER_OPTIONS \ + $(CUSTOM_JTREG_STRING_KEYWORDS), \ )) ifneq ($(JTREG), ) @@ -832,6 +833,8 @@ define SetupRunJtregTestBody endif endif + $$(eval $$(call SetupRunJtregTestCustom, $1)) + clean-workdir-$1: $$(RM) -r $$($1_TEST_SUPPORT_DIR)