summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2023-03-20 09:18:30 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2023-03-20 22:13:19 +0000
commit6bfd658173efdb3ff4785e5e35ed708571c0dd8f (patch)
tree6281d2c539a553a7b36220aafb082932f2da2808
parentf276f3de548d613d28f87b8d2ddfa849ff7e7178 (diff)
downloadlibinput-6bfd658173efdb3ff4785e5e35ed708571c0dd8f.tar.gz
tools: honor FDO_CI_CONCURRENT in the tools option parser
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rwxr-xr-xtools/test_tool_option_parsing.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/test_tool_option_parsing.py b/tools/test_tool_option_parsing.py
index 5c33db6d..c1148948 100755
--- a/tools/test_tool_option_parsing.py
+++ b/tools/test_tool_option_parsing.py
@@ -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