Bug 224329

Summary: Make TestInput take a Test object, not a path
Product: WebKit Reporter: Sam Sneddon [:gsnedders] <gsnedders>
Component: Tools / TestsAssignee: Sam Sneddon [:gsnedders] <gsnedders>
Status: RESOLVED FIXED    
Severity: Normal CC: ews-watchlist, glenn, jbedard, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 220421    
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch none

Description Sam Sneddon [:gsnedders] 2021-04-08 09:41:47 PDT
Continue to refactor webkitpy.layout_tests to represent tests as objects, rather than as test names (i.e., paths). This is required so that we can attach data, like expectations, to the tests and pass them through the various components, rather than having to do multiple walks of the tree to find them.
Comment 1 Sam Sneddon [:gsnedders] 2021-04-08 09:59:46 PDT
Created attachment 425512 [details]
Patch
Comment 2 Sam Sneddon [:gsnedders] 2021-04-08 10:26:34 PDT
Created attachment 425516 [details]
Patch
Comment 3 Jonathan Bedard 2021-04-08 11:38:10 PDT
Comment on attachment 425516 [details]
Patch

Looks good, let's wait for iOS layout tests, since that's the configuration most likely to be broken by this.
Comment 4 Sam Sneddon [:gsnedders] 2021-04-09 05:49:27 PDT
Created attachment 425615 [details]
Patch
Comment 5 Sam Sneddon [:gsnedders] 2021-04-09 05:50:33 PDT
Comment on attachment 425615 [details]
Patch

https://github.com/WebKit/WebKit/compare/main...gsnedders:test_obj_to_runner?expand=1 has the history from the first patch, in case that helps to review.
Comment 6 Sam Sneddon [:gsnedders] 2021-04-09 09:29:39 PDT
Created attachment 425626 [details]
Patch
Comment 7 EWS 2021-04-09 12:50:06 PDT
Committed r275773 (236348@main): <https://commits.webkit.org/236348@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 425626 [details].
Comment 8 Radar WebKit Bug Importer 2021-04-09 12:51:16 PDT
<rdar://problem/76465565>