]> arthur.barton.de Git - bup.git/commit
Capture and check top level wvtest watch messages
authorRob Browning <rlb@defaultvalue.org>
Thu, 31 Dec 2015 20:55:36 +0000 (14:55 -0600)
committerRob Browning <rlb@defaultvalue.org>
Fri, 1 Jan 2016 18:14:09 +0000 (12:14 -0600)
commita25e07f4ff51afe998b38b4b1e918736fc53a210
tree4b8312fd0330a24523a55da5468cea48d236f31a
parent68098e710b73cd68eb91f563ba08dcbc5b0416ec
Capture and check top level wvtest watch messages

During wvtest watch, report top level protocol messages to stderr so
that they can be safely captured for examination by report.  Continue
printing those message to stdout too, so that "wvtest watch
... 2>test-top.log" will still display them.

Adjust "make check" to include the top level messages when looking for
failures.  Otherwise a non-zero exit status from a t/test-*.sh test that
produced no wvtest failure output of its own was just ignored.  This can
be demonstrated by adding an "exit 1" to the top of an existing test and
running "make -j check".

Thanks to Greg Troxel for reporting the problem.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
Makefile
wvtest