[next] telepathy-mission-control: output log files from skipped tests

Simon McVittie smcv at kemper.freedesktop.org
Thu Apr 3 07:27:56 PDT 2014


Module: telepathy-mission-control
Branch: next
Commit: aa70226ed9ba21cdfacad6484156935061bbf771
URL:    http://cgit.freedesktop.org/telepathy/telepathy-mission-control/commit/?id=aa70226ed9ba21cdfacad6484156935061bbf771

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Wed Mar 26 08:28:22 2014 +0000

output log files from skipped tests

---

 tests/twisted/run-test.sh.in |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/tests/twisted/run-test.sh.in b/tests/twisted/run-test.sh.in
index 1c502b4..21cc96a 100644
--- a/tests/twisted/run-test.sh.in
+++ b/tests/twisted/run-test.sh.in
@@ -131,6 +131,13 @@ for t in $list ; do
       ;;
     (77)
       echo "ok $i # SKIP $t"
+      (
+        cd $tmp && for x in *.log; do
+          echo "# ===== log file: $x ====="
+          sed 's/^/# /' "$x"
+        done
+        echo "# ===== end of log files for $t ====="
+      )
       if test -z "$MC_TEST_KEEP_TEMP"; then
         rm -fr "$tmp"
       fi



More information about the telepathy-commits mailing list