From 7b1b6ebcd661e250498a18e662818a4b45bb02e1 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Sat, 19 Jul 2014 13:36:03 +0200 Subject: [PATCH] t/coverage.sh: Output the content of t/test-suite.log in case of a failure. --- t/coverage.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 \ -- 2.30.2