Bug 215628

Summary: [webkitpy] Adopt webkitcorepy's OutputCapture
Product: WebKit Reporter: Jonathan Bedard <jbedard>
Component: Tools / TestsAssignee: Jonathan Bedard <jbedard>
Status: RESOLVED FIXED    
Severity: Normal CC: aakash_jain, cdumez, dewei_zhu, ews-watchlist, glenn, rniwa, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=215380
Attachments:
Description Flags
Patch none

Jonathan Bedard
Reported 2020-08-18 14:35:46 PDT
Now that OutputCapture has been moved from webkitpy to webkitcorepy, we should remove the one in webkitpy and refactor our testing code so that we use the more modern idioms of the webkitcorepy version of OutputCapture.
Attachments
Patch (235.14 KB, patch)
2020-08-18 14:41 PDT, Jonathan Bedard
no flags
Radar WebKit Bug Importer
Comment 1 2020-08-18 14:36:14 PDT
Jonathan Bedard
Comment 2 2020-08-18 14:41:10 PDT
Jonathan Bedard
Comment 3 2020-08-18 14:42:53 PDT
Comment on attachment 406812 [details] Patch All about unifying OutputCapture idioms and removing unused code. There are many individual changes here, but they're all essentially the same thing: use OutputCapture as a decorator, compare stdout/stderr and logs explicitly.
EWS
Comment 4 2020-08-19 11:35:19 PDT
Committed r265883: <https://trac.webkit.org/changeset/265883> All reviewed patches have been landed. Closing bug and clearing flags on attachment 406812 [details].
Note You need to log in before you can comment on or make changes to this bug.