[next] telepathy-mission-control: run-test.sh: allow use of system-wide data

Simon McVittie smcv at kemper.freedesktop.org
Thu Apr 3 07:27:57 PDT 2014


Module: telepathy-mission-control
Branch: next
Commit: 5d2a3f459a954e2d77383ae2e325318e0183fe3a
URL:    http://cgit.freedesktop.org/telepathy/telepathy-mission-control/commit/?id=5d2a3f459a954e2d77383ae2e325318e0183fe3a

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Wed Mar 26 09:43:07 2014 +0000

run-test.sh: allow use of system-wide data

We mainly need this for the system-wide schemas when running installed.

---

 tests/twisted/run-test.sh.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/twisted/run-test.sh.in b/tests/twisted/run-test.sh.in
index 21cc96a..d93d7be 100644
--- a/tests/twisted/run-test.sh.in
+++ b/tests/twisted/run-test.sh.in
@@ -104,7 +104,7 @@ for t in $list ; do
   export XDG_CONFIG_HOME
   XDG_DATA_HOME="${tmp}/localshare"
   export XDG_DATA_HOME
-  XDG_DATA_DIRS="${tmp}/share:${test_src}/twisted"
+  XDG_DATA_DIRS="${tmp}/share:${test_src}/twisted:${XDG_DATA_DIRS:-/usr/local/share:/usr/share}"
   export XDG_DATA_DIRS
   XDG_CACHE_HOME="${tmp}/cache"
   export XDG_CACHE_HOME



More information about the telepathy-commits mailing list