diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2019-03-20 16:06:13 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2019-03-20 07:13:39 +0000 |
commit | e8d4e2de83b4f2b9a289dbf8ae419c62afa7a021 (patch) | |
tree | 225dfea6bff3808c1edf395ea28b5e64b2fbf58b /tox.ini | |
parent | ecce1bff5d69e34ec2da95e836d60fcbc4b458bc (diff) | |
download | buildstream-e8d4e2de83b4f2b9a289dbf8ae419c62afa7a021.tar.gz |
tox.ini: Override/relocate XDG_ environment variables when running tests
This is not necessary to fix #966 as it is already done in the setup.cfg,
however this just provides a consistent environment in case we do run
tests which use configurations in the default `XDG_` driven locations.
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -44,6 +44,10 @@ passenv = # setenv = py{35,36,37}: COVERAGE_FILE = {envtmpdir}/.coverage + py{35,36,37}: XDG_CACHE_HOME = {envtmpdir}/cache + py{35,36,37}: XDG_CONFIG_HOME = {envtmpdir}/config + py{35,36,37}: XDG_DATA_HOME = {envtmpdir}/share + whitelist_externals = py{35,36,37}: mv |