Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 3561019e2cc16eca937201151d9adbc243429201 https://github.com/WebKit/WebKit/commit/3561019e2cc16eca937201151d9adbc243429201 Author: Dan Glastonbury <d...@apple.com> Date: 2022-09-23 (Fri, 23 Sep 2022)
Changed paths: M Tools/Scripts/run-api-tests M Tools/Scripts/webkitpy/port/darwin.py A Tools/TestWebKitAPI/Configurations/TestWGSL.xcconfig M Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj A Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/xcshareddata/xcschemes/TestWGSL.xcscheme A Tools/TestWebKitAPI/Tests/WGSL/LexerTests.cpp A Tools/TestWebKitAPI/Tests/WGSL/ParserTests.cpp M Tools/TestWebKitAPI/ios/mainIOS.mm M Tools/TestWebKitAPI/mac/mainMac.mm Log Message: ----------- [WGSL] Port WGSLUnitTests to TestWebKitAPI https://bugs.webkit.org/show_bug.cgi?id=245061 rdar://problem/99808942 Reviewed by Elliott Williams. So we can run the tests on EWS, port the XCTest-based WGSLUnitTests to gtest-based standalone executable TestWGSL. This was a straight-forward change of ObjC interfaces to C++ classes and renaming of testing macros. * Tools/Scripts/run-api-tests: * Tools/Scripts/webkitpy/port/darwin.py: (DarwinPort): * Tools/TestWebKitAPI/Configurations/TestWGSL.xcconfig: Added. * Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: * Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/xcshareddata/xcschemes/TestWGSL.xcscheme: Added. * Tools/TestWebKitAPI/Tests/WGSL/LexerTests.cpp: Added. (TestWebKitAPI::checkSingleToken): (TestWebKitAPI::checkSingleLiteral): (TestWebKitAPI::checkNextTokenIs): (TestWebKitAPI::checkNextTokenIsIdentifier): (TestWebKitAPI::checkNextTokenIsLiteral): (TestWebKitAPI::checkNextTokensAreBuiltinAttr): (TestWebKitAPI::TEST): * Tools/TestWebKitAPI/Tests/WGSL/ParserTests.cpp: Added. (TestWebKitAPI::TEST): * Tools/TestWebKitAPI/mac/mainMac.mm: (main): Canonical link: https://commits.webkit.org/254813@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes