mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-06 22:20:17 +01:00
tools: honor FDO_CI_CONCURRENT in the tools option parser
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
f276f3de54
commit
6bfd658173
1 changed files with 2 additions and 1 deletions
|
|
@ -368,7 +368,8 @@ def main():
|
|||
try:
|
||||
import xdist # noqa
|
||||
|
||||
args += ["-n", "auto"]
|
||||
ncores = os.environ.get("FDO_CI_CONCURRENT", "auto")
|
||||
args += ["-n", ncores]
|
||||
except ImportError:
|
||||
logger.info("python-xdist missing, this test will be slow")
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue