Bug 264166

Summary: [run-webkit-tests] Current iteration display with verbose and specified iterations/child-processes starts after 1
Product: WebKit Reporter: Ben Schwartz <ben_schwartz>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: jbedard, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Ben Schwartz 2023-11-03 10:35:52 PDT
When using `run-webkit-tests`, if the user has specified --verbose, --iterations > 1, and --child-processes > 1, the iteration count starts at the number of specified child processes instead of 1.

EXAMPLE OUTPUT:

benschwartz@computername Folder % run-webkit-tests --verbose --iterations 1000 --child-processes 10 -f --exit-after-n-failures 1 "imported/w3c/web-platform-tests/webcodecs/temporal-svc-encoding.https.any.worker.html?vp9" --force
...
Found 1 test; running 1 (1000 times each: --repeat-each=1 --iterations=1000), skipping 0.

Verbose baseline search path: platform/mac-sonoma-wk2 -> platform/mac-sonoma -> platform/mac-wk2 -> platform/mac -> platform/wk2 -> generic

Baseline search path: platform/mac-wk2 -> platform/mac -> platform/wk2 -> generic

Running 1 test

Running 10 WebKitTestRunners in parallel.

worker/6 starting
worker/1 starting
worker/8 starting
worker/4 starting
worker/3 starting
worker/7 starting
worker/0 starting
worker/2 starting
worker/5 starting
worker/9 starting
[10/1000] imported/w3c/web-platform-tests/webcodecs/temporal-svc-encoding.https.any.worker.html?vp9 passed
[11/1000] imported/w3c/web-platform-tests/webcodecs/temporal-svc-encoding.https.any.worker.html?vp9 passed
[12/1000] imported/w3c/web-platform-tests/webcodecs/temporal-svc-encoding.https.any.worker.html?vp9 passed
[13/1000] imported/w3c/web-platform-tests/webcodecs/temporal-svc-encoding.https.any.worker.html?vp9 passed
[14/1000] imported/w3c/web-platform-tests/webcodecs/temporal-svc-encoding.https.any.worker.html?vp9 passed
[15/1000] imported/w3c/web-platform-tests/webcodecs/temporal-svc-encoding.https.any.worker.html?vp9 passed
[16/1000] imported/w3c/web-platform-tests/webcodecs/temporal-svc-encoding.https.any.worker.html?vp9 passed
...
Comment 1 Radar WebKit Bug Importer 2023-11-03 10:36:02 PDT
<rdar://problem/117912648>