]> git.cworth.org Git - notmuch/commit
test: report summary even when aborting
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Sun, 26 May 2019 15:03:13 +0000 (11:03 -0400)
committerDavid Bremner <david@tethera.net>
Sun, 26 May 2019 21:55:06 +0000 (18:55 -0300)
commit73cebe6e7233f59ba26d9f7c05265b7776795818
tree3a6fe85fcf12364a89b811e5e2531904edd39185
parent86b657d014c500a04e442ee756687753564bbead
test: report summary even when aborting

In certain cases of test suite failure, the summary report was not
being printed.  In particular, any failure on the parallel test suite,
and any aborted test in the serialized test suite would end up hiding
the summary.

It's better to always show the summary where we can (while preserving
the return code).  If we do abort due to this high-level failure,
though, we should also announce to the user that we're doing so as
close to the end of the process as possible, to make it easier to find
the problem.

Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
test/notmuch-test