diff options
| author | Christian Heimes <christian@python.org> | 2022-06-13 19:51:04 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-13 19:51:04 +0200 |
| commit | c2007573dd449ae054f9fd5227e49ac9eef00ae8 (patch) | |
| tree | 76d6fe4ba897be841420b9f3e8eba7f030b7756d /Tools/scripts | |
| parent | 443ca731d6b1267fe2f92985e0490460c95e44a8 (diff) | |
| download | cpython-git-c2007573dd449ae054f9fd5227e49ac9eef00ae8.tar.gz | |
gh-84461: Fix parallel testing on WebAssembly (GH-93768)
Diffstat (limited to 'Tools/scripts')
| -rw-r--r-- | Tools/scripts/run_tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/scripts/run_tests.py b/Tools/scripts/run_tests.py index 8dbcade923..445a34ae3e 100644 --- a/Tools/scripts/run_tests.py +++ b/Tools/scripts/run_tests.py @@ -63,9 +63,9 @@ def main(regrtest_args): args.append('-n') # Silence alerts under Windows if not any(is_multiprocess_flag(arg) for arg in regrtest_args): if cross_compile and hostrunner: - # For now use only one core for cross-compiled builds; + # For now use only two cores for cross-compiled builds; # hostrunner can be expensive. - args.extend(['-j', '1']) + args.extend(['-j', '2']) else: args.extend(['-j', '0']) # Use all CPU cores if not any(is_resource_use_flag(arg) for arg in regrtest_args): |
