]> git.ipfire.org Git - thirdparty/automake.git/commit
test harness: be aware of more metadata, simplify test drivers
authorStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 5 Aug 2011 07:28:17 +0000 (09:28 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 5 Aug 2011 08:25:40 +0000 (10:25 +0200)
commit956c58ab490f79be1829ac4fc3a0da58a4b30973
tree2831e1312841fec7f8ca7b325166221ba2cd53de
parent445674ff92cb0929f21627dec0ced4bd05a1c5c8
test harness: be aware of more metadata, simplify test drivers

* lib/am/check.am ($(TEST_SUITE_LOG)):  When producing the
global test log, take into account the new metadata field
`:global-test-result:, to write nicely formatted RST section
titles, instead of leaving this chore to the individual test
drivers.
(am_rst_section): Re-introduce this variable, as removed in
commit `v1.11-870-ga27c9c4'.
* lib/test-driver, lib/tap-driver: Write the global test result
as metadata in the `.trs' file, not as (part of) a formatted RST
subsection title in the `.log' file.  Related simplifications;
in particular, get rid of temporary files usage.
* doc/automake.texi (Log files generation and test results
recording): Document the new metadata.
* tests/check12.test: Update.
* tests/parallel-tests-harderror.test: Likewise.
* tests/parallel-tests-interrupt.test: Likewise.
* tests/parallel-tests-log-override-2.test: Likewise.
* tests/parallel-tests-log-override-recheck.test: Likewise.
* tests/parallel-tests-unreadable.test: Likewise.
* tests/tap-global-result.test: Likewise.
* tests/test-metadata-results.test: Likewise.
* tests/test-log.test: Likewise, and another minor unrelated fix.
* tests/test-metadata-global-result.test: New test.
* tests/Makefile.am (TESTS): Update.
19 files changed:
ChangeLog
doc/automake.texi
lib/Automake/tests/Makefile.in
lib/am/check.am
lib/tap-driver
lib/test-driver
tests/Makefile.am
tests/Makefile.in
tests/check12.test
tests/parallel-tests-harderror.test
tests/parallel-tests-interrupt.test
tests/parallel-tests-log-override-2.test
tests/parallel-tests-log-override-recheck.test
tests/parallel-tests-unreadable.test
tests/tap-global-log.test
tests/tap-global-result.test
tests/test-log.test
tests/test-metadata-global-result.test [new file with mode: 0755]
tests/test-metadata-results.test