[tracker] functional-tests: Set up data directores like tracker-sandbox does
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] functional-tests: Set up data directores like tracker-sandbox does
- Date: Thu, 9 Jan 2014 14:31:46 +0000 (UTC)
commit cc0cda99239199c38bc54742bdebbb4fcbc9b7e7
Author: Sam Thursfield <sam thursfield codethink co uk>
Date: Thu Jan 9 14:16:01 2014 +0000
functional-tests: Set up data directores like tracker-sandbox does
To debug a functional test failure you can now replace the 'rm' at the
bottom of 'test-runner.sh' with 'echo', and then call:
tracker-sandbox.py -i /tmp/tracker-test-XXXX/tracker-tests --shell
tests/functional-tests/common/utils/system.py | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/tests/functional-tests/common/utils/system.py b/tests/functional-tests/common/utils/system.py
index 2509dfe..9636b8c 100644
--- a/tests/functional-tests/common/utils/system.py
+++ b/tests/functional-tests/common/utils/system.py
@@ -18,16 +18,16 @@ import helpers
# Add this after fixing the backup/restore and ontology changes tests
#"G_DEBUG" : "fatal_criticals",
-TEST_ENV_DIRS = { "XDG_DATA_HOME" : os.path.join (cfg.TEST_TMP_DIR, "xdg-data-home"),
- "XDG_CACHE_HOME": os.path.join (cfg.TEST_TMP_DIR, "xdg-cache-home")}
+TEST_ENV_DIRS = { "XDG_DATA_HOME" : os.path.join (cfg.TEST_TMP_DIR, "data"),
+ "XDG_CACHE_HOME": os.path.join (cfg.TEST_TMP_DIR, "cache")}
TEST_ENV_VARS = { "TRACKER_DISABLE_MEEGOTOUCH_LOCALE": "",
"LC_COLLATE": "en_GB.utf8",
"DCONF_PROFILE": os.path.join (cfg.DATADIR, "tracker-tests",
"trackertest") }
-EXTRA_DIRS = [os.path.join (cfg.TEST_TMP_DIR, "xdg-data-home", "tracker"),
- os.path.join (cfg.TEST_TMP_DIR, "xdg-cache-home", "tracker")]
+EXTRA_DIRS = [os.path.join (cfg.TEST_TMP_DIR, "data", "tracker"),
+ os.path.join (cfg.TEST_TMP_DIR, "cache", "tracker")]
REASONABLE_TIMEOUT = 30
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]