Skip to content

Commit 54521dd

Browse files
author
duke
committedSep 20, 2023
Automatic merge of jdk:master into master
2 parents b02aec7 + e30e356 commit 54521dd

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed
 

‎make/RunTests.gmk

+5-4
Original file line numberDiff line numberDiff line change
@@ -862,8 +862,9 @@ define SetupRunJtregTestBody
862862

863863
$$(eval $$(call SetupRunJtregTestCustom, $1))
864864

865-
clean-workdir-$1:
865+
clean-outputdirs-$1:
866866
$$(RM) -r $$($1_TEST_SUPPORT_DIR)
867+
$$(RM) -r $$($1_TEST_RESULTS_DIR)
867868

868869
$1_COMMAND_LINE := \
869870
$$(JAVA) $$($1_JTREG_LAUNCHER_OPTIONS) \
@@ -909,7 +910,7 @@ define SetupRunJtregTestBody
909910
done
910911
endif
911912

912-
run-test-$1: pre-run-test clean-workdir-$1
913+
run-test-$1: pre-run-test clean-outputdirs-$1
913914
$$(call LogWarn)
914915
$$(call LogWarn, Running test '$$($1_TEST)')
915916
$$(call MakeDir, $$($1_TEST_RESULTS_DIR) $$($1_TEST_SUPPORT_DIR) \
@@ -946,9 +947,9 @@ define SetupRunJtregTestBody
946947
$$(eval $1_TOTAL := 1) \
947948
)
948949

949-
$1: run-test-$1 parse-test-$1 clean-workdir-$1
950+
$1: run-test-$1 parse-test-$1 clean-outputdirs-$1
950951

951-
TARGETS += $1 run-test-$1 parse-test-$1 clean-workdir-$1
952+
TARGETS += $1 run-test-$1 parse-test-$1 clean-outputdirs-$1
952953
TEST_TARGETS += parse-test-$1
953954

954955
endef

0 commit comments

Comments
 (0)
Please sign in to comment.