Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 722055b887045655ae912d09fcda5cdade4cc905
https://github.com/WebKit/WebKit/commit/722055b887045655ae912d09fcda5cdade4cc905
Author: Zak Ridouh <[email protected]>
Date: 2026-05-06 (Wed, 06 May 2026)
Changed paths:
M Tools/Scripts/webkitpy/api_tests/manager.py
M Tools/Scripts/webkitpy/api_tests/manager_unittest.py
Log Message:
-----------
Make run-api-tests default to --child-processes=1 when only specific tests
are named
https://bugs.webkit.org/show_bug.cgi?id=314178
rdar://176339262
Reviewed by Jonathan Bedard.
Running `run-api-tests --ios-simulator Foo.Bar` currently boots one simulator
per CPU, which is extremely slow and frequently times out before the test
runs. The standard workaround is `--child-processes=1`, but it's easy to
forget.
When every positional argument matches `\S+\..+` (i.e., the user named
specific tests, not a whole binary or suite), default --child-processes to 1.
Users can still override with an explicit --child-processes=N.
* Tools/Scripts/webkitpy/api_tests/manager.py:
(Manager):
(Manager._args_specify_individual_tests):
(Manager._update_worker_count):
(Manager._set_up_run):
(Manager.run):
* Tools/Scripts/webkitpy/api_tests/manager_unittest.py:
(test_find_test_subset_no_match):
(test_args_specify_individual_tests):
Canonical link: https://commits.webkit.org/312716@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications