]> git.ipfire.org Git - thirdparty/automake.git/commit
parallel-tests: 'recheck' must depend on 'all'
authorStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 18 Apr 2012 09:40:15 +0000 (11:40 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 18 Apr 2012 09:40:15 +0000 (11:40 +0200)
commitf46359b42790945e42e78a620e651ce66c2b8833
treee5d28d358e38fdcb54af3a2a00832abef4849d09
parent0c2cc2c9d171ef21ef54c87569837ff41cd09a9d
parallel-tests: 'recheck' must depend on 'all'

Fixes automake bug#11252.

When a developer experience one or more failures in the testsuite, a good
workflow is for him to modify its program's sources to fix the bug thus
revealed, run "make recheck" to verify that the change has indeed solved
the testsuite failures previously experienced, and then run "make check"
to verify that the change has not introduced any new failure or regression.

Unfortunately, this apparently natural workflow couldn't have worked until
now, since the Automake-provided 'recheck' target (which didn't depend on
'all') wouldn't have causes the program to be recompiled, and the failed
tests would have thus been run with the older, buggy version of the
program, failing the same way as before.

* lib/am/check.am (recheck): Depend on 'all'.
* t/parallel-tests-recheck-depends-on-all.sh: New test.
* t/list-of-tests.mk: Add it.
* NEWS: Update.

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