summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-30 19:54:39 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-30 19:54:39 +0000
commit6b30a388e7d6f5d990481b07e5cc83e5238c566f (patch)
treeab316c1ac9c736021416899cfcc9e715ca53a201
parent7eb2300f13b081bcd0adcfe28202e82d1310f70d (diff)
downloadchromium_src-6b30a388e7d6f5d990481b07e5cc83e5238c566f.zip
chromium_src-6b30a388e7d6f5d990481b07e5cc83e5238c566f.tar.gz
chromium_src-6b30a388e7d6f5d990481b07e5cc83e5238c566f.tar.bz2
Fix the logic condition used to check whether we've run image_diff yet or not.
TBR=pam Review URL: http://codereview.chromium.org/19720 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8982 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 990b6e6..ba5f391 100644
--- a/webkit/tools/layout_tests/test_types/image_diff.py
+++ b/webkit/tools/layout_tests/test_types/image_diff.py
@@ -160,7 +160,7 @@ class ImageDiff(test_type_base.TestTypeBase):
self.WriteOutputFiles(filename, '', '.checksum', test_args.hash,
expected_hash, diff=False, wdiff=False)
- if (test_args.hash == expected_hash or expected_hash == ''):
+ if (test_args.hash == expected_hash or expected_hash != ''):
self._CopyOutputPNGs(filename, test_args.png_path,
expected_png_file)
self._CreateImageDiff(filename, target)