[telepathy-mission-control-5.16] telepathy-mission-control: run-test.sh.in: dump logfiles to stdout on failure

Simon McVittie smcv at kemper.freedesktop.org
Fri Sep 20 04:51:58 PDT 2013


Module: telepathy-mission-control
Branch: telepathy-mission-control-5.16
Commit: 38bbbf49bd1e357d1a4a9e6508c718c5edb9baf7
URL:    http://cgit.freedesktop.org/telepathy/telepathy-mission-control/commit/?id=38bbbf49bd1e357d1a4a9e6508c718c5edb9baf7

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Thu Sep 19 18:48:38 2013 +0100

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 at collabora.co.uk>

---

 tests/twisted/run-test.sh.in |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/tests/twisted/run-test.sh.in b/tests/twisted/run-test.sh.in
index ac553e3..b79397e 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



More information about the telepathy-commits mailing list