automake: new option 'serial-tests'
authorStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 20 Feb 2012 17:33:50 +0000 (18:33 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 21 Feb 2012 08:51:59 +0000 (09:51 +0100)
commitdeb7773835c02531a7cccc8a7bc7f80959b31872
tree006c356c47715b4acea0a7e03c995085622b990b
parent82616f0bc3340449ebb7d5e1e40cca40644e8b74
automake: new option 'serial-tests'

Currently, automake offers a 'parallel-tests' option to enable the
use of the parallel testsuite harness in the generated Makefiles,
but no option to explicitly state the intention of using the older
serial testsuite driver (which is currently the default).

This makes the parallel test harness seems like a second-class
citizen (while actually it should be the other way around); more
importantly, it will prevent us from making the parallel harness
be the default one in future automake versions, since the users
of the serial harness would then have no way to instruct automake
to continue using it.

We solve all of this by introducing a new 'serial-tests' option.

* lib/Automake/Options.pm (_process_option_list): Recognize the
new option, and related minor refactoring.
* tests/serial-tests.test: New test.
* tests/list-of-tests.mk: Add it.
* doc/automake.texi: Update.
* NEWS: Likewise.
NEWS
doc/automake.texi
lib/Automake/Options.pm
tests/list-of-tests.mk
tests/serial-tests.test [new file with mode: 0755]