]> git.ipfire.org Git - thirdparty/automake.git/commit
tests: recompute dependencies when lists-of-tests.mk changes.
authorKarl Berry <karl@freefriends.org>
Sun, 8 Nov 2020 02:11:03 +0000 (18:11 -0800)
committerKarl Berry <karl@freefriends.org>
Sun, 8 Nov 2020 02:11:03 +0000 (18:11 -0800)
commit285c285c5b79b65d8fab86ca6d15bd8d8bccacbc
tree9b308799cc63b8d5c14879f78fc2bdb90d2f6591
parente21d46fddd0753e66a4acda88317670fee07f3e6
tests: recompute dependencies when lists-of-tests.mk changes.

This change fixes https://bugs.gnu.org/44458
and updates https://bugs.gnu.org/11347.

* t/local.mk ($(srcdir)/%D/testsuite-part.am): restore
dependency on '%D/list-of-tests.mk' (i.e., t/list-of-tests.mk),
partially reverting the change of 26 Apr 2012 for bug#11347.
Otherwise, new tests that have dependencies will not cause an
update of testsuite-part.am, leading to strange failures
(bug#44458). The original problem being fixed in #11347 was
unnecessary rebuilding when modifying tests; that should not be
affected here, but when new tests are added, it seems reasonable,
as well as necessary, to ensure dependencies are updated.
t/local.mk