summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-27 19:33:56 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-27 19:33:56 +0000
commit8b7064cefb6a2aa9b1577a1c86763d09520238fa (patch)
tree9ec5d4c872a9a1dd3f1f1aa585e4afb4b8464cc6
parentfc2d146da41e7e94d6f7b28c0a914ca0c5239964 (diff)
downloadchromium_src-8b7064cefb6a2aa9b1577a1c86763d09520238fa.zip
chromium_src-8b7064cefb6a2aa9b1577a1c86763d09520238fa.tar.gz
chromium_src-8b7064cefb6a2aa9b1577a1c86763d09520238fa.tar.bz2
Set the default result to no match, as the incorrect hash error will be set off
otherwise if image_diff is not available. Review URL: http://codereview.chromium.org/19030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8739 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--webkit/tools/layout_tests/test_types/image_diff.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/tools/layout_tests/test_types/image_diff.py b/webkit/tools/layout_tests/test_types/image_diff.py
index 2fa8075..990b6e6 100644
--- a/webkit/tools/layout_tests/test_types/image_diff.py
+++ b/webkit/tools/layout_tests/test_types/image_diff.py
@@ -84,7 +84,7 @@ class ImageDiff(test_type_base.TestTypeBase):
except Exception, e:
_compare_available = False
- result = 0
+ result = 1
if _compare_available:
try:
result = subprocess.call(cmd);