parallel-tests: don't allow @substitutions@ in TEST_EXTENSIONS
authorStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 6 Oct 2011 19:30:04 +0000 (21:30 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 6 Oct 2011 19:38:38 +0000 (21:38 +0200)
commitb9b79d887abdc615bae92a9dd79de881664d19d3
tree9313560ed1ce6e90a1f5e4f8f4187bdc6be85719
parent90bea64bc5023be075b63bf7c651d0242f35a83c
parallel-tests: don't allow @substitutions@ in TEST_EXTENSIONS

Even after the last commit `v1.11-476-g90bea64', the checks
performed by automake on entries in $(TEST_EXTENSIONS) tried to
allow for @substitited@ stuff.  This however ends up allowing
quite brittle setups, which, most importantly, are of no real
practical usefulness anyway.  So it's better to just disallow
@substitutions@ in TEST_EXTENSIONS altogether, offering a clear
error message, instead of risking weird bugs and unexpected
behaviors in the generated Makefile.in.

* automake.in ($TEST_EXTENSION_PATTERN): Turned from a regular
expression ...
(is_valid_test_extension): ... into this subroutine.  Don't allow
generic @substitutions@ anymore (possibly making an exception for
`@EXEEXT@' under the proper circumstances).
* tests/test-extensions.test: Adjust and extend.
ChangeLog
automake.in
tests/test-extensions.test