diff options
Diffstat (limited to 'lib/am/check.am')
-rw-r--r-- | lib/am/check.am | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/am/check.am b/lib/am/check.am index a7201af76..6648c011d 100644 --- a/lib/am/check.am +++ b/lib/am/check.am @@ -405,8 +405,8 @@ RECHECK_LOGS = $(TEST_LOGS) ## ------------------------------------------ ## check-TESTS: %CHECK_DEPS% - @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list - @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list + @list='$(RECHECK_LOGS)'; $(am__rm_f) $$list + @list='$(RECHECK_LOGS:.log=.trs)'; $(am__rm_f) $$list ## We always have to remove $(TEST_SUITE_LOG), to ensure its rule is run ## in any case even in lazy mode: otherwise, if no test needs rerunning, ## or a prior run plus reruns all happen within the same timestamp (can @@ -414,7 +414,7 @@ check-TESTS: %CHECK_DEPS% ## OTOH, this means that, in the rule for '$(TEST_SUITE_LOG)', we ## cannot use '$?' to compute the set of lazily rerun tests, lest ## we rely on .PHONY to work portably. - @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) + @$(am__rm_f) $(TEST_SUITE_LOG) @set +e; $(am__set_TESTS_bases); \ log_list=`for i in $$bases; do echo $$i.log; done`; \ trs_list=`for i in $$bases; do echo $$i.trs; done`; \ @@ -432,7 +432,7 @@ check-TESTS: %CHECK_DEPS% recheck: all %CHECK_DEPS% ## See comments above in the check-TESTS recipe for why remove ## $(TEST_SUITE_LOG) here. - @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) + @$(am__rm_f) $(TEST_SUITE_LOG) @set +e; $(am__set_TESTS_bases); \ ## We must only consider tests that had an unexpected outcome (FAIL ## or XPASS) in the earlier run. |