Bug 314662
| Summary: | [CMake] TestWebKitAPI on Mac doesn't compile any tests under Tests/WebKit/WKWebView/mac/ | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | zak ridouh <zakr> |
| Component: | CMake | Assignee: | zak ridouh <zakr> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
zak ridouh
The CMake Mac build of TestWebKitAPI does not compile any of the ~90 test
files under Tools/TestWebKitAPI/Tests/WebKit/WKWebView/mac/. Tools/TestWebKitAPI/
PlatformMac.cmake only feeds Tools/TestWebKitAPI/SourcesCocoa.txt to
TestWebKit_UNIFIED_SOURCE_LIST_FILES, and SourcesCocoa.txt is shared with
the iOS build (which can't compile mac/* tests because they use AppKit).
The mac/ directory is therefore invisible to CMake.
Affected: every mac-only API test that lives under that directory --
AcceptsFirstMouse, AttributedString, BackForwardList, ContextMenuTests,
DragAndDropTestsMac, FontManagerTests, HIDGamepads, ImmediateActionTests,
KeyboardEventTests, LoadWebArchive, MouseEventTests, ScrollbarTests,
ScrollingCoordinatorTests, WKWebViewMacEditingTests, and ~80 others.
None of them are available when running `Tools/Scripts/run-api-tests`
against a CMake-built tree (cmake --preset mac-dev-debug).
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/176914334>
zak ridouh
Pull request: https://github.com/WebKit/WebKit/pull/64777
EWS
Committed 313112@main (c92a925d7b3e): <https://commits.webkit.org/313112@main>
Reviewed commits have been landed. Closing PR #64777 and removing active labels.