parallel-tests: automake error our on invalid TEST_EXTENSIONS
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 1 Oct 2011 19:31:07 +0000 (21:31 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 1 Oct 2011 19:58:18 +0000 (21:58 +0200)
commit90bea64bc5023be075b63bf7c651d0242f35a83c
tree52736325a2fc4a0276ce9b2cb01f34614992e1d0
parentb9fa1fc1eb50d7907764ec0972a674548a7bd8b3
parallel-tests: automake error our on invalid TEST_EXTENSIONS

This change fixes automake bug#9400.

* automake.in (handle_tests): Bail out if a suffix specified in
TEST_EXTENSIONS would produce an invalid `xxx_LOG_COMPILER'
variable or an invalid suffix rule.  Before this change, automake
would have issued a confusing error messages (about invalid or
non-POSIX variables being defined), and in some situations would
have even produced a broken `Makefile.in' file.
($TEST_EXTENSION_PATTERN): New helper variable.
* doc/automake.texi (Simple Tests using parallel-tests): Document
the limitations on TEST_EXTENSIONS explicitly.
* NEWS: Update.
* tests/test-extensions.test: New test.
* tests/Makefile.am (TESTS): Update.
ChangeLog
NEWS
automake.in
doc/automake.texi
tests/Makefile.am
tests/Makefile.in
tests/test-extensions.test [new file with mode: 0755]