From: Sebastian Harl Date: Sat, 19 Jul 2014 11:36:03 +0000 (+0200) Subject: t/coverage.sh: Output the content of t/test-suite.log in case of a failure. X-Git-Tag: sysdb-0.3.0~49 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7b1b6ebcd661e250498a18e662818a4b45bb02e1;p=sysdb.git t/coverage.sh: Output the content of t/test-suite.log in case of a failure. --- diff --git a/t/coverage.sh b/t/coverage.sh index bb76642..a689b57 100755 --- a/t/coverage.sh +++ b/t/coverage.sh @@ -49,7 +49,8 @@ touch configure.ac && make configure make lcov --base-directory src --directory src --zerocount -make test +make test || (status=$?; cat t/test-suite.log 2> /dev/null; exit $status) + # old versions of lcov don't support --no-external lcov --base-directory src --directory src --no-external \ --capture -o sysdb_coverage.info \