Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 903ee1c8cb2d6151b4f2b171f92581b345e93ff7
https://github.com/WebKit/WebKit/commit/903ee1c8cb2d6151b4f2b171f92581b345e93ff7
Author: Abrar Rahman Protyasha <[email protected]>
Date: 2026-07-11 (Sat, 11 Jul 2026)
Changed paths:
M Tools/TestWebKitAPI/Runner/TestRunner.swift
M Tools/TestWebKitAPI/Runner/TestWebKitAPI.swift
Log Message:
-----------
TestWebKitAPI binary should have a help output
https://bugs.webkit.org/show_bug.cgi?id=319148
rdar://181972000
Reviewed by Richard Robinson.
The `run-api-tests` script is great at both documenting the various ways
to configure TWKAPI runs, and at exposing arguments to pass on these
customizations to the underlying binary.
However, debugging flows often consist of invoking the TWKAPI binary
directly. In these cases, the many ways to configure test runs are
difficult to discover without peeking at source code.
To alleviate this problem, we teach TWKAPI about `-h/--help` flags that
generate a handy output documenting the various accepted options.
* Tools/TestWebKitAPI/Runner/TestRunner.swift:
(TestRunner.usage):
* Tools/TestWebKitAPI/Runner/TestWebKitAPI.swift:
(TestWebKitAPI.main):
Canonical link: https://commits.webkit.org/316973@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications