From 6eadfd8c4db495ce003e7b0c9653fe1d4f94c3a7 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 4 Jun 2013 12:11:00 +0100 Subject: [PATCH 2/4] 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. --- tests/exec-with-log.sh | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- 1.7.10.4