tests: make recheck

* tests/local.mk (recheck): New.
This commit is contained in:
Akim Demaille
2019-10-06 10:47:12 +02:00
parent 9e6c5328d3
commit d2a7a28438
2 changed files with 10 additions and 0 deletions

View File

@@ -94,6 +94,13 @@ clean-local: clean-local-tests
clean-local-tests:
test ! -f $(TESTSUITE) || $(TESTSUITE) -C %D% --clean
.PHONY: recheck
recheck: $(RUN_TESTSUITE_deps)
$(RUN_TESTSUITE) \
$$(perl -n \
-e 'if (/Summary of the failures/../Detailed failed tests/)' \
-e '{ /^ *[0-9]+:/ && s/:.*//s && print }' %D%/testsuite.log)
check-local: $(RUN_TESTSUITE_deps)
$(RUN_TESTSUITE)