1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-23 16:26:29 +00:00

pytest-xdist: adjust parallelism, fixes #2053

it's either auto or env var XDISTN value.
This commit is contained in:
Thomas Waldmann 2017-01-14 23:10:12 +01:00
parent 32e58e88e6
commit 0a15530f9a

View file

@ -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 = *