summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorThomas Waldmann <tw@waldmann-edv.de>2017-01-14 23:10:12 +0100
committerThomas Waldmann <tw@waldmann-edv.de>2017-01-14 23:10:12 +0100
commit0a15530f9afbf7127a227dbd6e0992c287e38f5b (patch)
treef8f6347a602f6d8179fc2e4d67f2cd29ce438e96 /tox.ini
parent32e58e88e64a9e99bee2f97643d6919c0ae1306c (diff)
pytest-xdist: adjust parallelism, fixes #2053
it's either auto or env var XDISTN value.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index ce0aaacb0..c0de8a527 100644
--- a/tox.ini
+++ b/tox.ini
@@ -12,7 +12,7 @@ deps =
-rrequirements.d/development.txt
-rrequirements.d/attic.txt
-rrequirements.d/fuse.txt
-commands = py.test -n 8 -rs --cov=borg --cov-config=../.coveragerc --benchmark-skip --pyargs {posargs:borg.testsuite}
+commands = py.test -n {env:XDISTN:auto} -rs --cov=borg --cov-config=../.coveragerc --benchmark-skip --pyargs {posargs:borg.testsuite}
# fakeroot -u needs some env vars:
passenv = *