8179555: make run-test should always use a fresh, clean JTwork directory

Reviewed-by: erikj
This commit is contained in:
Magnus Ihse Bursie 2017-11-27 19:14:42 +01:00
parent 53b0b93b3a
commit f0f5ef65f0

View File

@ -411,7 +411,10 @@ define SetupRunJtregTestBody
$1_JTREG_BASIC_OPTIONS += -cpa:$$(JIB_JAR)
endif
run-test-$1:
clean-workdir-$1:
$$(RM) -r $$($1_TEST_SUPPORT_DIR)
run-test-$1: clean-workdir-$1
$$(call LogWarn)
$$(call LogWarn, Running test '$$($1_TEST)')
$$(call MakeDir, $$($1_TEST_RESULTS_DIR) $$($1_TEST_SUPPORT_DIR))