Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c156afebc9e6bd8320059cf119df4aed7d77baef
https://github.com/WebKit/WebKit/commit/c156afebc9e6bd8320059cf119df4aed7d77baef
Author: Richard Robinson <[email protected]>
Date: 2026-07-07 (Tue, 07 Jul 2026)
Changed paths:
M Tools/TestWebKitAPI/CMakeLists.txt
M Tools/TestWebKitAPI/PlatformMac.cmake
R Tools/TestWebKitAPI/generic/main.mm
Log Message:
-----------
[CMake] Add Swift Testing support (part 1)
https://bugs.webkit.org/show_bug.cgi?id=318658
rdar://181464132
Reviewed by Adrian Taylor.
Work towards adding Swift Testing support to WebKit.
Start compiling the main TestRunner/ swift files, and switch the entry point
to the canonical TestWebKitAPI.swift file that Xcode also uses.
* Tools/TestWebKitAPI/CMakeLists.txt:
- For each test target, enable Swift in it.
* Tools/TestWebKitAPI/PlatformMac.cmake:
- Stage and embed Testing.framework and related frameworks, like Xcode.
- Connect the WTF feature flags to the targets so Swift can use them
- Add the relevant Swift compiler flags
- Compile Runner/ Swift files and connect the bridging header
- Add include paths to all the WebKit frameworks
* Tools/TestWebKitAPI/generic/main.mm: Removed.
- Remove this temporary hack
Canonical link: https://commits.webkit.org/316646@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications