path: root/pytest.ini
diff options
authorPeter Wu <peter@lekensteyn.nl>2019-01-04 19:47:53 +0100
committerAnders Broman <a.broman58@gmail.com>2019-01-05 06:47:25 +0000
commit0a25bfe647e4a46d0bbb5948041295dcccbad3ba (patch)
tree8c5669d567e19b052d85f15cc1176adf8e9b5b6a /pytest.ini
parent5dc1e77298263f13059542e41caa67e30696ca80 (diff)
test: enable parallelism by default for pytest
Consistent with tools like "ninja", enable parallelism by default. It can be disabled again with `pytest -n0`. This makes pytest-xdist a dependency when pytest is used as test runner. This does not affect the unittest-based test runnet (test/test.py). Change-Id: I4dc905f097c57a869aa39487b15361502b431616 Reviewed-on: https://code.wireshark.org/review/31371 Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'pytest.ini')
1 files changed, 1 insertions, 1 deletions
diff --git a/pytest.ini b/pytest.ini
index b0b9daf3ca..bf5187aeb8 100644
--- a/pytest.ini
+++ b/pytest.ini
@@ -2,4 +2,4 @@
minversion = 3.0
testpaths = test
python_files = suite_*.py group_*.py
-addopts = -ra
+addopts = -ra -nauto