Changeset 101455 in webkit


Ignore:
Timestamp:
Nov 30, 2011 12:17:19 AM (12 years ago)
Author:
hayato@chromium.org
Message:

Skip writing the result of diff_image since non-chromium ports don't implement diff_image.
https://bugs.webkit.org/show_bug.cgi?id=73381

Reviewed by Ryosuke Niwa.

This is a quick fix for the breakage of tests on non-chromium port.
We should implement diff_image later on non-chromium ports.

  • Scripts/webkitpy/layout_tests/controllers/test_result_writer.py:

(write_test_result):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r101451 r101455  
     12011-11-29  Hayato Ito  <hayato@chromium.org>
     2
     3        Skip writing the result of diff_image since non-chromium ports don't implement diff_image.
     4        https://bugs.webkit.org/show_bug.cgi?id=73381
     5
     6        Reviewed by Ryosuke Niwa.
     7
     8        This is a quick fix for the breakage of tests on non-chromium port.
     9        We should implement diff_image later on non-chromium ports.
     10
     11        * Scripts/webkitpy/layout_tests/controllers/test_result_writer.py:
     12        (write_test_result):
     13
    1142011-11-29  Balazs Ankes  <Ankes.Balazs@stud.u-szeged.hu>
    215
  • trunk/Tools/Scripts/webkitpy/layout_tests/controllers/test_result_writer.py

    r100648 r101455  
    7272            if driver_output.image and expected_driver_output.image:
    7373                image_diff = port.diff_image(driver_output.image, expected_driver_output.image)[0]
    74                 writer.write_image_diff_files(image_diff)
     74                # Non-chromium ports return 'None' since they don't implement diff_image.
     75                if image_diff is not None:
     76                    writer.write_image_diff_files(image_diff)
    7577            writer.copy_file(failure.reference_filename)
    7678        elif isinstance(failure, test_failures.FailureReftestMismatchDidNotOccur):
Note: See TracChangeset for help on using the changeset viewer.