⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 136192 in webkit


Ignore:
Timestamp:
Nov 29, 2012, 6:11:44 PM (14 years ago)
Author:
dpranke@chromium.org
Message:

Fix python unit tests after r136158 (android port tests failing)
​https://bugs.webkit.org/show_bug.cgi?id=103581

Unreviewed, build fix.

The unit tests apparently weren't ran for this patch; we failed
to update the mock executive calls out to adb to determine various
aspects of the environment, and were failing to create drivers.

  • Scripts/webkitpy/layout_tests/port/chromium_android_unittest.py:

(MockRunCommand.mock_run_command_fn):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r136183 r136192  
     12012-11-29  Dirk Pranke  <dpranke@chromium.org>
     2
     3        Fix python unit tests after r136158 (android port tests failing)
     4        https://bugs.webkit.org/show_bug.cgi?id=103581
     5
     6        Unreviewed, build fix.
     7
     8        The unit tests apparently weren't ran for this patch; we failed
     9        to update the mock executive calls out to adb to determine various
     10        aspects of the environment, and were failing to create drivers.
     11
     12        * Scripts/webkitpy/layout_tests/port/chromium_android_unittest.py:
     13        (MockRunCommand.mock_run_command_fn):
     14
    1152012-11-29  Sheriff Bot  <webkit.review.bot@gmail.com>
    216
  • trunk/Tools/Scripts/webkitpy/layout_tests/port/chromium_android_unittest.py

    r134636 r136192  
    5151
    5252    def mock_run_command_fn(self, args):
    53         if args[0] != 'adb':
     53        if not args[0].endswith('adb'):
    5454            return ''
    5555        if args[1] == 'devices':
    5656            return self._mock_devices_output
     57        if args[1] == 'version':
     58            return 'version 1.0'
    5759
    5860        assert len(args) > 3
Note: See TracChangeset for help on using the changeset viewer.