[next] telepathy-idle: tests: record a log file for Idle

Simon McVittie smcv at kemper.freedesktop.org
Mon Apr 7 09:05:00 PDT 2014


Module: telepathy-idle
Branch: next
Commit: c6671f8409071b7a820927a27d7e24f4ef892b9d
URL:    http://cgit.freedesktop.org/telepathy/telepathy-idle/commit/?id=c6671f8409071b7a820927a27d7e24f4ef892b9d

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Fri Apr  4 12:11:56 2014 +0100

tests: record a log file for Idle

This makes run-test.sh diverge from other CMs again, which is
a little unfortunate. MC and Gabble get this by service-activating a
wrapper around the CM instead of the real thing, but Idle doesn't
install that wrapper.

---

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

diff --git a/tests/twisted/run-test.sh.in b/tests/twisted/run-test.sh.in
index 0004ab3..f2b4773 100644
--- a/tests/twisted/run-test.sh.in
+++ b/tests/twisted/run-test.sh.in
@@ -49,6 +49,9 @@ config_file="${G_TEST_BUILDDIR}/tools/tmp-session-bus.conf"
 IDLE_DEBUG=all
 export IDLE_DEBUG
 
+G_MESSAGES_DEBUG=all
+export G_MESSAGES_DEBUG
+
 XDG_CONFIG_DIRS="${G_TEST_SRCDIR}"
 export XDG_CONFIG_DIRS
 
@@ -93,6 +96,8 @@ for t in $list ; do
   export XDG_CACHE_HOME
   XDG_CACHE_DIR="${tmp}/cache"
   export XDG_CACHE_DIR
+  IDLE_LOGFILE="${tmp}/cm.log"
+  export IDLE_LOGFILE
 
   CHECK_TWISTED_VERBOSE=1
   export CHECK_TWISTED_VERBOSE



More information about the telepathy-commits mailing list