Changeset 56652 in webkit
- Timestamp:
- Mar 26, 2010 7:38:59 PM (14 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r56648 r56652 1 2010-03-26 Dirk Pranke <dpranke@chromium.org> 2 3 Unreviewed fix. 4 5 Fix the return value for port/base.diff_image (changed from 1/0 to 6 True/False in bug 34826. 7 8 * Scripts/webkitpy/layout_tests/port/base.py: 9 1 10 2010-03-26 Dirk Pranke <dpranke@chromium.org> 2 11 -
trunk/WebKitTools/Scripts/webkitpy/layout_tests/port/base.py
r56510 r56652 95 95 """Compare two image files and produce a delta image file. 96 96 97 Return 1 if the two files are different, 0if they are the same.97 Return True if the two files are different, False if they are the same. 98 98 Also produce a delta image of the two images and write that into 99 99 |diff_filename| if it is not None. … … 109 109 cmd = [executable, expected_filename, actual_filename] 110 110 111 result = 1111 result = True 112 112 try: 113 result = subprocess.call(cmd) 113 if subprocess.call(cmd) == 0: 114 return False 114 115 except OSError, e: 115 116 if e.errno == errno.ENOENT or e.errno == errno.EACCES:
Note: See TracChangeset
for help on using the changeset viewer.