Wow, this is an oooold one. References: <http://lists.gnu.org/archive/html/automake-patches/2009-12/msg00026.html> <http://lists.gnu.org/archive/html/automake-patches/2009-12/msg00045.html>
-*-*- maintcheck: consistency of list of test scripts * CheckListOfTests.am: New file. (maintainer-check-list-of-tests): New target, check for consistency between list of tests defined in the including Makefile and list of tests on the filesystem. (clean-maintcheck-testslist-tmp): New rule, to clean up the temporary files that might be left around by the rules associated with the previous target. (clean-local): Depend on it. * lib/Automake/tests/Makefile.am: Include `CheckListOfTests.am'. (maintainer-check): Added dependency from the new target `maintainer-check-list-of-tests'. * tests/Makefile.am: Likewise. Also ... (TEST_EXTENSIONS): New, define to `.test'. --- ChangeLog | 21 ++++++++++++ CheckListOfTests.am | 70 ++++++++++++++++++++++++++++++++++++++++ Makefile.am | 21 +++++++++++- Makefile.in | 18 ++++++++++- lib/Automake/tests/Makefile.am | 5 ++- lib/Automake/tests/Makefile.in | 68 ++++++++++++++++++++++++++++++++------ tests/Makefile.am | 5 +++ tests/Makefile.in | 52 ++++++++++++++++++++++++++++-- 8 files changed, 243 insertions(+), 17 deletions(-) create mode 100644 CheckListOfTests.am -*-*- OK for maint? I'll push in 72 hours if there is no objection. Regards, Stefano