Changeset 125954 in webkit


Ignore:
Timestamp:
Aug 17, 2012 5:25:44 PM (12 years ago)
Author:
dpranke@chromium.org
Message:

nrwt: don't fail tests if ImageDiff fails on the wk2 ports
https://bugs.webkit.org/show_bug.cgi?id=94396

Reviewed by Ryosuke Niwa.

It appears that WTR is generating PNGs that ImageDiff doesn't
like, and so we're getting lots of "can not get ImageDiff"
errors (see bug 81962). The change in r124581 made this a test
failure, and this is causing the WK2 bots to frequently abort
with 500+ failures.

This change makes ImageDiff errors not be test failures just for
WK2 for now until we can better triage what's going on.

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

(SingleTestRunner._compare_image):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r125952 r125954  
     12012-08-17  Dirk Pranke  <dpranke@chromium.org>
     2
     3        nrwt: don't fail tests if ImageDiff fails on the wk2 ports
     4        https://bugs.webkit.org/show_bug.cgi?id=94396
     5
     6        Reviewed by Ryosuke Niwa.
     7
     8        It appears that WTR is generating PNGs that ImageDiff doesn't
     9        like, and so we're getting lots of "can not get ImageDiff"
     10        errors (see bug 81962). The change in r124581 made this a test
     11        failure, and this is causing the WK2 bots to frequently abort
     12        with 500+ failures.
     13
     14        This change makes ImageDiff errors not be test failures just for
     15        WK2 for now until we can better triage what's going on.
     16
     17        * Scripts/webkitpy/layout_tests/controllers/single_test_runner.py:
     18        (SingleTestRunner._compare_image):
     19
    1202012-08-17  James Robinson  <jamesr@chromium.org>
    221
  • trunk/Tools/Scripts/webkitpy/layout_tests/controllers/single_test_runner.py

    r125812 r125954  
    267267            diff_result = self._port.diff_image(driver_output.image, expected_driver_output.image)
    268268            err_str = diff_result[2]
    269             if err_str:
     269            # FIXME: see https://bugs.webkit.org/show_bug.cgi?id=94277 and
     270            # https://bugs.webkit.org/show_bug.cgi?id=81962; ImageDiff doesn't
     271            # seem to be working with WTR properly and tons of tests are failing.
     272            if err_str and not self._options.webkit_test_runner:
    270273                _log.warning('  %s : %s' % (self._test_name, err_str))
    271274                failures.append(test_failures.FailureImageHashMismatch())
Note: See TracChangeset for help on using the changeset viewer.