RESOLVED FIXED314178
Make run-api-tests default to --child-processes=1 when only specific tests are named
https://bugs.webkit.org/show_bug.cgi?id=314178
Summary Make run-api-tests default to --child-processes=1 when only specific tests ar...
zak ridouh
Reported 2026-05-06 00:26:26 PDT
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. We intentionally do not count tests, because counting requires booting a simulator.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-05-06 00:26:33 PDT
zak ridouh
Comment 2 2026-05-06 00:35:11 PDT
EWS
Comment 3 2026-05-06 10:47:58 PDT
Committed 312716@main (722055b88704): <https://commits.webkit.org/312716@main> Reviewed commits have been landed. Closing PR #64351 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.