WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
314938
[CMake] Teach run-api-tests to find CMake built binaries with --cmake
https://bugs.webkit.org/show_bug.cgi?id=314938
Summary
[CMake] Teach run-api-tests to find CMake built binaries with --cmake
zak ridouh
Reported
2026-05-15 22:56:22 PDT
Tools/Scripts/run-api-tests had no way to target a CMake build tree. Passing --cmake exited with "no such option", and Config.build_directory() never forwarded --cmake to webkit-build-directory anyway, so paths always resolved to the Xcode build products. Add --cmake to configuration_options(), and thread it through Port into Config, and append it to the webkit-build-directory invocation. For example, now `run-api-tests --cmake --debug` will resolve binaries out of WebKitBuild/cmake-mac/Debug/ (the mac-debug / mac-dev-debug preset output) instead of WebKitBuild/Debug/.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-05-15 22:56:28 PDT
<
rdar://problem/177224796
>
zak ridouh
Comment 2
2026-05-15 23:01:11 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/65034
EWS
Comment 3
2026-05-19 14:40:31 PDT
Committed
313522@main
(5c9c77898e53): <
https://commits.webkit.org/313522@main
> Reviewed commits have been landed. Closing PR #65034 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug