| Summary: | LayoutTestFinder should be in charge of finding expectations for each test | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Sam Sneddon [:gsnedders] <gsnedders> | ||||
| Component: | Tools / Tests | Assignee: | Sam Sneddon [:gsnedders] <gsnedders> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | darin, ews-watchlist, glenn, jbedard, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | Safari Technology Preview | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| See Also: |
https://bugs.webkit.org/show_bug.cgi?id=220025 https://bugs.webkit.org/show_bug.cgi?id=270974 |
||||||
| Bug Depends on: | 221577, 222662, 222770, 224329, 224442, 232018, 232576, 235370, 268379 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
Sam Sneddon [:gsnedders]
2021-01-07 10:22:36 PST
So, there's at least a few complications here: We're not just wanting to create TestInput in the LayoutTestFinder itself, as these also contain information related to the specific run (e.g., the used timeout, should_dump_jsconsolelog_in_stderr). Anything related to the specific run should probably just be passed through to the point where we create the port.driver.DriverInput, and most of what's in port.driver.DriverOuput should (perhaps ironically) be in the new TestInput. Finally, there's a few places where we currently behave like the device_type can depend on the current worker (e.g. `self._port.target_host(self._worker_number).device_type`) and others where we don't (e.g., `self._driver.host.device_type`). I guess we can treat it as the latter everywhere? I think stage one at this point is to simplify what we store in TestInput and move some of it into DriverInput, so that TestInput moves towards having less complexity in it, to make it easier for us to move where it gets created? Created attachment 449501 [details]
WIP patch
Pull request: https://github.com/WebKit/WebKit/pull/23546 Committed 276129@main (bee9faa82faa): <https://commits.webkit.org/276129@main> Reviewed commits have been landed. Closing PR #23546 and removing active labels. |