Parallel test execution: new option `parallel-tests'.
authorAkim Demaille <akim@lrde.epita.fr>
Sun, 8 Mar 2009 10:29:03 +0000 (11:29 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 14 Mar 2009 09:48:29 +0000 (10:48 +0100)
commit9aa1e525a4e192916ffe27d8ac1699c2a694cf6e
treed2dba55458ec7f1b861ad59d4c5cbdc8bae8ad4a
parenta88a2a277a7b5f835a32c2120ce6afbbeabd4167
Parallel test execution: new option `parallel-tests'.

* automake.in (handle_tests): Set new conditional PARALLEL_TESTS
when reading check.am.  Handle option `parallel-tests' and all
its semantics.  Define macros TEST_EXTENSIONS, TEST_SUITE_LOG,
TEST_SUITE_HTML, TEST_LOGS, TEST_LOGS_TMP, suffix rules if
applicable, and per-target rules for other tests.  Add all log
files to %clean_files at the `MOSTLY_CLEAN' level.
* lib/Automake/Options.pm (_process_option_list): Accept
`parallel-tests'.
* lib/am/check.am [!PARALLEL_TESTS] (check-TESTS): Move existing
testsuite driver under this new conditional.
[PARALLEL_TESTS]
(am__rst_title, am__rst_section, am__text_box am__sh_e_setup)
(am__check_pre, am__check_post): New internal macros.
($(TEST_SUITE_LOG), check-TESTS, .log.html, check-html): New
rules.
* lib/am/check2.am: New file.
* lib/am/Makefile.am (dist_am_DATA): Add check2.am.
* tests/Makefile.am (AUTOMAKE_OPTIONS): Use `parallel-tests'.
(clean-local): Renamed from distclean-local.
* tests/defs.in: Drop VERBOSE handling, not needed here any more.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
automake.in
lib/Automake/Options.pm
lib/am/Makefile.am
lib/am/Makefile.in
lib/am/check.am
lib/am/check2.am [new file with mode: 0644]
tests/.gitignore
tests/Makefile.am
tests/Makefile.in
tests/defs.in