From: Peter Eisentraut Date: Thu, 1 Aug 2019 08:00:12 +0000 (+0200) Subject: Add some debugging for failed tests X-Git-Tag: pgbouncer_1_11_0~35 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f097b4e9805dfff3d207c3a5a6f012d933daf877;p=pgbouncer Add some debugging for failed tests Print the log file of the failed test if the test fails. This helps analyzing failures when run in a CI environment. --- diff --git a/test/test.sh b/test/test.sh index a61c9ed..5ed8aca 100755 --- a/test/test.sh +++ b/test/test.sh @@ -174,6 +174,7 @@ runtest() { echo "skipped" else echo "FAILED" + cat $LOGDIR/$1.log | sed 's/^/# /' fi date >> $LOGDIR/$1.log