aboutsummaryrefslogtreecommitdiff
path: root/run_project_tests.py
diff options
context:
space:
mode:
authorMichael Hirsch, Ph.D <scivision@users.noreply.github.com>2019-06-21 10:07:55 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2019-06-23 17:33:28 +0300
commitd61116efc116845d32cd56b82089addd6b9327cc (patch)
tree1339a99545eeb82b239e44de6001700c720e62d4 /run_project_tests.py
parentef53107f14a272784e3fa2b0daa67cbba6f5ac56 (diff)
downloadmeson-d61116efc116845d32cd56b82089addd6b9327cc.zip
meson-d61116efc116845d32cd56b82089addd6b9327cc.tar.gz
meson-d61116efc116845d32cd56b82089addd6b9327cc.tar.bz2
windows project_test speedup by 2
Diffstat (limited to 'run_project_tests.py')
-rwxr-xr-xrun_project_tests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/run_project_tests.py b/run_project_tests.py
index 585a700..1d7409c 100755
--- a/run_project_tests.py
+++ b/run_project_tests.py
@@ -652,7 +652,8 @@ def _run_tests(all_tests, log_name_base, failfast, extra_args):
#
# Remove this once the following issue has been resolved:
# https://github.com/mesonbuild/meson/pull/2082
- num_workers *= 2
+ if not mesonlib.is_windows(): # twice as fast on Windows by *not* multiplying by 2.
+ num_workers *= 2
executor = ProcessPoolExecutor(max_workers=num_workers)
for name, test_cases, skipped in all_tests: