telepathy-haze: Avoid recent libpurple doing "clever" proxy discovery, etc.

Simon McVittie smcv at kemper.freedesktop.org
Tue Jun 25 03:08:00 PDT 2013


Module: telepathy-haze
Branch: master
Commit: 2a538fe27487fc5aa6c46414d15c205042344204
URL:    http://cgit.freedesktop.org/telepathy/telepathy-haze/commit/?id=2a538fe27487fc5aa6c46414d15c205042344204

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Tue Jun  4 12:11:00 2013 +0100

Avoid recent libpurple doing "clever" proxy discovery, etc.

The regression tests are not a full desktop session, and don't have
GSettings or other GNOME features. They also don't have KDE features,
which libpurple also checks.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=65290
Reviewed-by: Xavier Claessens <xavier.claessens at collabora.co.uk>

---

 tests/exec-with-log.sh |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/tests/exec-with-log.sh b/tests/exec-with-log.sh
index 3dab126..54abf29 100755
--- a/tests/exec-with-log.sh
+++ b/tests/exec-with-log.sh
@@ -14,6 +14,15 @@ export G_MESSAGES_DEBUG
 ulimit -c unlimited
 exec >> haze-testing.log 2>&1
 
+# Avoid using a non-trivial GSettings backend
+GSETTINGS_BACKEND=memory
+export GSETTINGS_BACKEND
+# Avoid libpurple doing "clever" things
+unset KDE_FULL_SESSION
+unset KDEDIR
+unset KDEDIRS
+unset GNOME_DESKTOP_SESSION_ID
+
 if test -n "$HAZE_TEST_VALGRIND"; then
         export G_DEBUG=${G_DEBUG:+"${G_DEBUG},"}gc-friendly
         export G_SLICE=always-malloc



More information about the telepathy-commits mailing list