## Running all tests, or rechecking failures. ##
## ------------------------------------------ ##
-am__remove_if_not_lazy_check = \
- $(if $(filter yes,$(AM_LAZY_CHECK)),,$(call am.clean-cmd.f,$1))
-
check-TESTS:
- @$(call am__remove_if_not_lazy_check,$(am.test-suite.test-results))
- @$(call am__remove_if_not_lazy_check,$(am.test-suite.test-logs))
+ifneq ($(AM_LAZY_CHECK),yes)
+ @$(call am.clean-cmd.f, \
+ $(am.test-suite.test-results) $(am.test-suite.test-logs))
+endif
## 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