From 38bbbf49bd1e357d1a4a9e6508c718c5edb9baf7 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Thu, 19 Sep 2013 18:48:38 +0100 Subject: run-test.sh.in: dump logfiles to stdout on failure This is a lot of very spammy output, but the failures are basically undebuggable without it, so... Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69585 Reviewed-by: Guillaume Desmottes --- tests/twisted/run-test.sh.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/twisted/run-test.sh.in b/tests/twisted/run-test.sh.in index ac553e3c..b79397e3 100644 --- a/tests/twisted/run-test.sh.in +++ b/tests/twisted/run-test.sh.in @@ -134,6 +134,12 @@ for i in $list ; do (*) any_failed=1 echo "FAIL: $i ($e)" + ( + cd $tmp && for x in *.log; do + echo "===== log file: $x =====" + cat "$x" + done + ) ;; esac done -- cgit v1.2.1