mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 05:57:52 +00:00
Run system tests sequentially if xdist is not available
This commit is contained in:
parent
8952618262
commit
1cc55d01c7
@ -26,6 +26,11 @@ import pytest
|
||||
def into_pytest_args(in_args):
|
||||
args = []
|
||||
if in_args.expression is None:
|
||||
try:
|
||||
import xdist
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
# running all tests - execute in parallel
|
||||
args.extend(["-n", "auto"])
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user