aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorWilliam Hua <william.hua@canonical.com>2013-08-20 14:13:04 +0000
committerTarmac <Unknown>2013-08-20 14:13:04 +0000
commitdf3cf3ed4283c6e28c5c530542653b0906655b48 (patch)
treeda21ae8ef0477300024bdb72468758ea1c5966e1 /tests
parentb95b1793605426da03ca61d3c825c93bd9eaf64e (diff)
parentfb33dc6602f35783e76684e743ff7f166f961122 (diff)
downloadayatana-indicator-keyboard-df3cf3ed4283c6e28c5c530542653b0906655b48.tar.gz
ayatana-indicator-keyboard-df3cf3ed4283c6e28c5c530542653b0906655b48.tar.bz2
ayatana-indicator-keyboard-df3cf3ed4283c6e28c5c530542653b0906655b48.zip
Change XDG_RUNTIME_DIR to point in-tree. The tests don't run properly because the default XDG_RUNTIME_DIR doesn't exist in a schroot.
Thanks Iain Lane for suggesting the fix. Approved by PS Jenkins bot, Mathieu Trudel-Lapierre.
Diffstat (limited to 'tests')
-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 7ae24423..1a78a2fc 100644
--- a/tests/indicator-keyboard-test.in
+++ b/tests/indicator-keyboard-test.in
@@ -3,5 +3,6 @@
export PATH="@abs_top_builddir@/tests/execute:$PATH"
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"
xvfb-run -a ./indicator-keyboard-tests