diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-01-09 14:16:01 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-01-09 14:30:56 +0000 |
commit | cc0cda99239199c38bc54742bdebbb4fcbc9b7e7 (patch) | |
tree | 34ac338ce3a6a8d7e83c0b7d6d22474ee215de41 /tests | |
parent | 1027d43b44d7d63d3b4d6d3854628ed9ff54455c (diff) | |
download | tracker-cc0cda99239199c38bc54742bdebbb4fcbc9b7e7.tar.gz |
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
Diffstat (limited to 'tests')
-rw-r--r-- | 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 2509dfe59..9636b8cbd 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 |