Changeset 284891 in webkit
- Timestamp:
- Oct 26, 2021, 12:51:18 PM (5 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
Scripts/webkitpy/port/image_diff.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r284890 r284891 1 2021-10-26 Simon Fraser <simon.fraser@apple.com> 2 3 The script should decide when an image diff cases, not ImageDiff 4 https://bugs.webkit.org/show_bug.cgi?id=232225 5 6 Unreviewed; respond to review feedback. 7 8 * Scripts/webkitpy/port/image_diff.py: 9 (ImageDiffer._read): 10 1 11 2021-10-26 Alex Christensen <achristensen@webkit.org> 2 12 -
trunk/Tools/Scripts/webkitpy/port/image_diff.py
r284878 r284891 135 135 m = re.match(b'diff: (.+)%', diff_output) 136 136 if not m: 137 return ImageDiffResult(passed=False, diff_image=None, difference=0, tolerance=self._tolerance, error_string=err_str or "Failed to match ImageDiff output %s" % diff_output)137 return ImageDiffResult(passed=False, diff_image=None, difference=0, tolerance=self._tolerance, error_string=err_str or 'Failed to match ImageDiff output {}'.format(diff_output)) 138 138 139 139 diff_percent = float(string_utils.decode(m.group(1), target_type=str))
Note:
See TracChangeset
for help on using the changeset viewer.