diff options
author | Michael Hirsch, Ph.D <scivision@users.noreply.github.com> | 2019-06-21 10:07:55 -0400 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-06-23 17:33:28 +0300 |
commit | d61116efc116845d32cd56b82089addd6b9327cc (patch) | |
tree | 1339a99545eeb82b239e44de6001700c720e62d4 /run_project_tests.py | |
parent | ef53107f14a272784e3fa2b0daa67cbba6f5ac56 (diff) | |
download | meson-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-x | run_project_tests.py | 3 |
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: |