summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2019-08-29 19:41:27 +0200
committerJürg Billeter <j@bitron.ch>2019-08-30 07:30:10 +0200
commitd7db365912a2c34118b6e6b8c638d52666f8ecb5 (patch)
tree5b82381417570972d7c10b8e18d7ab240c1d3070 /tox.ini
parente9978cdd675f1fcf3d0de49bb38908fd25194c8a (diff)
downloadbuildstream-d7db365912a2c34118b6e6b8c638d52666f8ecb5.tar.gz
Set HOME environment variable for tests
This fixes host contamination for tools that use HOME, e.g., bzr.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini1
1 files changed, 1 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index c6bcd78ad..39381dc02 100644
--- a/tox.ini
+++ b/tox.ini
@@ -55,6 +55,7 @@ passenv =
#
setenv =
py{35,36,37}: COVERAGE_FILE = {envtmpdir}/.coverage
+ py{35,36,37}: HOME = {envtmpdir}
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