summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2019-03-20 16:00:07 +0900
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2019-03-20 07:13:39 +0000
commitecce1bff5d69e34ec2da95e836d60fcbc4b458bc (patch)
tree89ce7d470c2432a22abc4209ecc85dbb0d2ddea7 /setup.cfg
parent5bf767fd70bc9ec47af456e8c17b812f03fb21b3 (diff)
downloadbuildstream-ecce1bff5d69e34ec2da95e836d60fcbc4b458bc.tar.gz
setup.cfg: Override/relocate XDG_ environment variables when running tests
This fixes #966
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index ca623aa4b..efdca7091 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -16,6 +16,9 @@ norecursedirs = tests/integration/project integration-cache tmp __pycache__ .egg
python_files = tests/*/*.py
env =
D:BST_TEST_SUITE=True
+ D:XDG_CACHE_HOME=./tmp/cache
+ D:XDG_CONFIG_HOME=./tmp/config
+ D:XDG_DATA_HOME=./tmp/share
[pycodestyle]
max-line-length = 119