]> git.ipfire.org Git - thirdparty/automake.git/commit
tests: list of tests placed in a separate Makefile fragment
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 27 Aug 2011 13:01:33 +0000 (15:01 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 29 Aug 2011 13:50:45 +0000 (15:50 +0200)
commitd4a102bec07f508ba1e509d6ee3ed960e377042b
tree3561c07422249f1f34e64f14e57538a1c0a8710a
parenta8650c3ed060f496acef2d6dd13b8c67e93dd104
tests: list of tests placed in a separate Makefile fragment

This change allows us to easily use make instead of by-hand (and
more fragile) grepping to extract the list of hand-written tests
from our Makefiles.

* bootstrap (BOOTSTRAP_MAKE): New variable.
Use it to run make in order to extract the list of hand-written
tests from ...
* tests/list-of-tests.mk: ... this new file, where they are
listed in ...
(handwritten_TESTS, tap_with_common_setup_TESTS, tap_other_TESTS):
... these variables, extracted respectively from ...
* tests/Makefile.am (handwritten_tests, tap_other_tests,
tap_with_common_setup_tests): ... these older variables, now
removed.
(EXTRA_DIST, expected_list_of_tests): Update w.r.t. the variable
names' changes.
(include $(srcdir)/list-of-tests.mk): New inclusion.
Remove an overkill indirection, and with it ...
(tap_with_common_setup_logs): ... this variable.
($(srcdir)/parallel-tests.am, $(srcdir)/config-shell-tests.am):
Update to match the new interface of ...
(gen-parallel-tests, gen-config-shell-tests): ... these scripts,
that now read the list of tests from the standard input.
ChangeLog
bootstrap
tests/Makefile.am
tests/Makefile.in
tests/gen-config-shell-tests
tests/gen-parallel-tests
tests/list-of-tests.mk [new file with mode: 0644]