aboutsummaryrefslogtreecommitdiff
path: root/tests/indicator-keyboard-test.in
diff options
context:
space:
mode:
authorWilliam Hua <william.hua@canonical.com>2015-10-06 17:26:34 +0000
committerCI Train Bot <ci-train-bot@canonical.com>2015-10-06 17:26:34 +0000
commit506e0e90ff361577cfd8a282a2a96871db8c2fba (patch)
treee1bcfa217d4535acdbed49e8f7dd442b9088d594 /tests/indicator-keyboard-test.in
parent33ea309a98c63869031e0820365a193b9570c919 (diff)
parentb5bb009d74753290d34ce34bea05a4b9b057cbef (diff)
downloadayatana-indicator-keyboard-506e0e90ff361577cfd8a282a2a96871db8c2fba.tar.gz
ayatana-indicator-keyboard-506e0e90ff361577cfd8a282a2a96871db8c2fba.tar.bz2
ayatana-indicator-keyboard-506e0e90ff361577cfd8a282a2a96871db8c2fba.zip
Manually set XDG_RUNTIME_DIR to fix the tests.
GLib 32492c6ab0000c50564360c74acf069814d942d1 unsets it after g_test_dbus_up () and g_test_dbus_down (). We need it so that spawned calls to the GSettings CLI tool knows what DBus socket to use. Approved by: Sebastien Bacher
Diffstat (limited to 'tests/indicator-keyboard-test.in')
-rw-r--r--tests/indicator-keyboard-test.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/indicator-keyboard-test.in b/tests/indicator-keyboard-test.in
index 3d43d8ab..8c20f6bf 100644
--- a/tests/indicator-keyboard-test.in
+++ b/tests/indicator-keyboard-test.in
@@ -5,6 +5,7 @@ export DCONF_PROFILE="@abs_top_builddir@/tests/profiles/indicator-keyboard-test"
export GSETTINGS_SCHEMA_DIR="@abs_top_builddir@/data"
export XDG_RUNTIME_DIR="@abs_top_builddir@/tests"
export GTK_IM_MODULE="ibus"
+export GDK_BACKEND="x11"
if xvfb-run -a ./indicator-keyboard-tests
then