diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-06-13 18:15:46 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-13 18:15:46 (GMT) |
commit | 02ff1ccfb702e740d08cd4f546cf0e51f929c718 (patch) | |
tree | 0a9509e13b3be180ca7e97a83cbfcbf11b91abb6 /Tools/scripts | |
parent | dc6dd8ee873ed96027d30c8a2e96518657d46241 (diff) | |
download | cpython-02ff1ccfb702e740d08cd4f546cf0e51f929c718.zip cpython-02ff1ccfb702e740d08cd4f546cf0e51f929c718.tar.gz cpython-02ff1ccfb702e740d08cd4f546cf0e51f929c718.tar.bz2 |
gh-84461: Fix parallel testing on WebAssembly (GH-93768)
(cherry picked from commit c2007573dd449ae054f9fd5227e49ac9eef00ae8)
Co-authored-by: Christian Heimes <christian@python.org>
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 8dbcade..445a34a 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): |