summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2017-11-22 10:08:01 +0100
committerJürg Billeter <j@bitron.ch>2017-11-22 13:49:19 +0100
commit841f4e9e47ed4d7d14d8526a657600a6a67d7312 (patch)
treeae121144297959c8d9927f1778ccebd4eb50854f /setup.py
parent22d804df6e5d08fb84be590da173164171365374 (diff)
downloadbuildstream-841f4e9e47ed4d7d14d8526a657600a6a67d7312.tar.gz
setup.py: Add pytest-xdist dependency
This allows running tests in parallel: ./setup.py test --addopts "-n auto"
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index 4d06c87f7..69a78a1d3 100755
--- a/setup.py
+++ b/setup.py
@@ -182,5 +182,7 @@ setup(name='BuildStream',
'pytest-env',
'pytest-pep8',
'pytest-cov',
+ # Provide option to run tests in parallel, less reliable
+ 'pytest-xdist',
'pytest >= 3.1.0'],
zip_safe=False)