]> git.ipfire.org Git - thirdparty/automake.git/commit
parallel-tests: "recheck" behaves better in case of compilation failures
authorStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 27 Jun 2012 10:47:17 +0000 (12:47 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 27 Jun 2012 11:18:27 +0000 (13:18 +0200)
commit2a3e45d6f3083c5152d94156f8b4e21366090c0f
tree8ef5620eebe733a542afc4d489703da9fbb6ad31
parentf7132aee3c5c0024b91c925e712f249838b98c46
parallel-tests: "recheck" behaves better in case of compilation failures

With this change, the "recheck" target behaves better in the face of build
failures related to previously failed tests.  For example, if a test is a
compiled program that must be rerun by "make recheck", and its compilation
fails, that test will still be rerun by further "make recheck" invocations.
Previously, its '.log' and '.trs' would have both been lost, so that the
test would have not been re-run.

This change fixes automake bug#11791.

* NEWS: Update.
* lib/am/check.am (recheck, check-TESTS): Adjust to cater to scenario
described above.
* t/parallel-tests-recheck-pr11791.sh: New test.
* t/list-of-tests.mk: Add it.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
NEWS
lib/am/check.am
t/list-of-tests.mk
t/parallel-tests-recheck-pr11791.sh [new file with mode: 0755]