summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2013-06-04 12:11:00 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2013-06-25 11:07:37 +0100
commit2a538fe27487fc5aa6c46414d15c205042344204 (patch)
tree72f585d421406ac302521592863a6767658d762b
parentcbe583bce4ceec03caf9b2d67af0ea6ca3ea8818 (diff)
downloadtelepathy-haze-2a538fe27487fc5aa6c46414d15c205042344204.tar.gz
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@collabora.co.uk>
-rwxr-xr-xtests/exec-with-log.sh9
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