summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-27 19:22:55 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-27 19:22:55 +0000
commit31b279dcd62da47f0a1d1f2d3811f1ee7bf9e896 (patch)
tree1f3e5f6e55b4783890f4d70052683c8426e7db24
parent8af1bcce387f2f117687bfa408dffc8a73c04947 (diff)
downloadchromium_src-31b279dcd62da47f0a1d1f2d3811f1ee7bf9e896.zip
chromium_src-31b279dcd62da47f0a1d1f2d3811f1ee7bf9e896.tar.gz
chromium_src-31b279dcd62da47f0a1d1f2d3811f1ee7bf9e896.tar.bz2
Initialize result for the case where image_diff is not available.
Review URL: http://codereview.chromium.org/19029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8736 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--webkit/tools/layout_tests/test_types/image_diff.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/tools/layout_tests/test_types/image_diff.py b/webkit/tools/layout_tests/test_types/image_diff.py
index 6647d1d..2fa8075 100644
--- a/webkit/tools/layout_tests/test_types/image_diff.py
+++ b/webkit/tools/layout_tests/test_types/image_diff.py
@@ -84,6 +84,7 @@ class ImageDiff(test_type_base.TestTypeBase):
except Exception, e:
_compare_available = False
+ result = 0
if _compare_available:
try:
result = subprocess.call(cmd);