test: enable parallelism by default for pytest
authorPeter Wu <peter@lekensteyn.nl>
Fri, 4 Jan 2019 18:47:53 +0000 (19:47 +0100)
committerAnders Broman <a.broman58@gmail.com>
Sat, 5 Jan 2019 06:47:25 +0000 (06:47 +0000)
commit0a25bfe647e4a46d0bbb5948041295dcccbad3ba
tree8c5669d567e19b052d85f15cc1176adf8e9b5b6a
parent5dc1e77298263f13059542e41caa67e30696ca80
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>
.travis.yml
appveyor.yml
pytest.ini