Summary: | Add a script to run ImageDiff manually | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Carlos Alberto Lopez Perez <clopez> | ||||||
Component: | Tools / Tests | Assignee: | Carlos Alberto Lopez Perez <clopez> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | aperez, bugs-noreply, webkit-bug-importer, zimmermann | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Carlos Alberto Lopez Perez
2019-10-21 17:05:54 PDT
Created attachment 381489 [details]
Patch
Created attachment 381494 [details]
Patch
Comment on attachment 381494 [details] Patch The new Python script looks fine. I think that the failed test case of the “webkitperl” EWS is somewhat intermittent (for example here's another recent failure: https://ews-build.webkit.org/#/builders/19/builds/11760), and it should be fine to land this. Comment on attachment 381494 [details] Patch Clearing flags on attachment: 381494 Committed r251428: <https://trac.webkit.org/changeset/251428> All reviewed patches have been landed. Closing bug. ``` nzimmermann@nzimmermann-macbook WebKit % run-imagediff LayoutTests/svg/foreignObject/body-background-expected.png actual.png Traceback (most recent call last): File "/Users/nzimmermann/Software/GitRepositories/WebKit/Tools/Scripts/run-imagediff", line 70, in <module> image_diff, diff_percent, error = port.diff_image(imageContentA, imageContentB, options.tolerance) TypeError: cannot unpack non-iterable ImageDiffResult object ``` The script is outdated. Shall we update it? Carlos? |