]> git.ipfire.org Git - thirdparty/automake.git/commit
testsuite harness: report test exit status in log file
authorStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 24 Dec 2013 16:45:18 +0000 (17:45 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 24 Dec 2013 21:14:51 +0000 (22:14 +0100)
commitc7e2fb2e73b2d1b904feef0ed5e87ce05a41c119
tree0f2cf9fa68987c5a74231a3e8c630c62163384f4
parent526c4b04a699fd62da6bc3915cdb333f0a6ca92d
testsuite harness: report test exit status in log file

The exit status of a test should be reported in the test logs, so
that one can see at a glance whether the test has succeeded or failed,
without having to look also into the corresponding .trs file.

This fixes automake bug#11814.

* lib/test-driver: Also report the test script exit status in the
test log (as the last line).
* t/check-exit-status-reported.sh: Test this new behaviour.
* t/list-of-tests.mk: Add the new test.
* t/ax/test-lib.sh( am_exit_trap): No longer log the test exit status;
this has been made redundant by the change to 'test-driver'.  While at
it, fix an imperfect quoting.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
NEWS
lib/test-driver
t/ax/test-lib.sh
t/list-of-tests.mk
t/parallel-tests-exit-status-reported.sh [new file with mode: 0644]