diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2023-03-20 09:18:30 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2023-03-20 22:13:19 +0000 |
commit | 6bfd658173efdb3ff4785e5e35ed708571c0dd8f (patch) | |
tree | 6281d2c539a553a7b36220aafb082932f2da2808 | |
parent | f276f3de548d613d28f87b8d2ddfa849ff7e7178 (diff) | |
download | libinput-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-x | tools/test_tool_option_parsing.py | 3 |
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 |