Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1403)

Unified Diff: webkit/tools/layout_tests/layout_package/test_failures.py

Issue 13159: Add fuzzy image matching tool for Linux pixel tests (Closed)
Patch Set: Add license block Created 12 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/fuzzymatch/fuzzymatch.c ('k') | webkit/tools/layout_tests/run_webkit_tests.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/layout_tests/layout_package/test_failures.py
diff --git a/webkit/tools/layout_tests/layout_package/test_failures.py b/webkit/tools/layout_tests/layout_package/test_failures.py
index 1e59462c12295189c3e4ee8cdbabbadd9ca180f6..8779a689c1bd1057f7c48f675034d2946e79667d 100644
--- a/webkit/tools/layout_tests/layout_package/test_failures.py
+++ b/webkit/tools/layout_tests/layout_package/test_failures.py
@@ -202,3 +202,10 @@ class FailureImageHashMismatch(FailureWithType):
# to the PNGs rather than the checksums.
return "Image mismatch"
+class FailureFuzzyFailure(FailureWithType):
+ """Image hashes didn't match."""
+ OUT_FILENAMES = ["-actual-win.png", "-expected.png"]
+
+ @staticmethod
+ def Message():
+ return "Fuzzy image match also failed"
« no previous file with comments | « third_party/fuzzymatch/fuzzymatch.c ('k') | webkit/tools/layout_tests/run_webkit_tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698