summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2013-09-19 18:48:38 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2013-09-20 12:51:02 +0100
commit38bbbf49bd1e357d1a4a9e6508c718c5edb9baf7 (patch)
tree7b05d0edfbf53a31737995f86b797aa6dc537317
parent83d08c87a251824f6f5f52037e1f79587bc9446c (diff)
downloadtelepathy-mission-control-38bbbf49bd1e357d1a4a9e6508c718c5edb9baf7.tar.gz
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 <guillaume.desmottes@collabora.co.uk>
-rw-r--r--tests/twisted/run-test.sh.in6
1 files changed, 6 insertions, 0 deletions
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