mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
tests: recheck: work properly when the test suite was interrupted
* tests/local.mk (recheck): Look at the per-test logs, not the overall log, which, when interrupted, contains only information about... the tests that passed.
This commit is contained in:
@@ -96,10 +96,10 @@ clean-local-tests:
|
|||||||
|
|
||||||
.PHONY: recheck
|
.PHONY: recheck
|
||||||
recheck: $(RUN_TESTSUITE_deps)
|
recheck: $(RUN_TESTSUITE_deps)
|
||||||
$(RUN_TESTSUITE) \
|
$(RUN_TESTSUITE) \
|
||||||
$$(perl -n \
|
$$(perl -n \
|
||||||
-e 'if (/Summary of the failures/../Detailed failed tests/)' \
|
-e 'eof && /^(\d+).*: FAILED/ && print "$$1 "' \
|
||||||
-e '{ /^ *[0-9]+:/ && s/:.*//s && print }' %D%/testsuite.log)
|
%D%/testsuite.dir/*/testsuite.log)
|
||||||
|
|
||||||
check-local: $(RUN_TESTSUITE_deps)
|
check-local: $(RUN_TESTSUITE_deps)
|
||||||
$(RUN_TESTSUITE)
|
$(RUN_TESTSUITE)
|
||||||
|
|||||||
Reference in New Issue
Block a user