Changeset 57831 in webkit


Ignore:
Timestamp:
Apr 19, 2010 1:17:28 PM (14 years ago)
Author:
dpranke@chromium.org
Message:

2010-04-19 Dirk Pranke <dpranke@chromium.org>

Unreviewed, build fix.

Fix breakage of chromium-win canary bots caused by r57806. That patch
introduced the option of using Chrome's new port of DumpRenderTree,
but unfortunately that port relies on the webkit.py class
implementation which uses non-blocking I/O that isn't available on
Windows. This patch turns off that option and doesn't import the
class if we're running on Windows.

https://bugs.webkit.org/show_bug.cgi?id=37817

  • Scripts/webkitpy/layout_tests/port/chromium.py:
Location:
trunk/WebKitTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r57828 r57831  
     12010-04-19  Dirk Pranke  <dpranke@chromium.org>
     2
     3        Unreviewed, build fix.
     4
     5        Fix breakage of chromium-win canary bots caused by r57806. That patch
     6        introduced the option of using Chrome's new port of DumpRenderTree,
     7        but unfortunately that port relies on the webkit.py class
     8        implementation which uses non-blocking I/O that isn't available on
     9        Windows. This patch turns off that option and doesn't import the
     10        class if we're running on Windows.
     11
     12        https://bugs.webkit.org/show_bug.cgi?id=37817
     13
     14        * Scripts/webkitpy/layout_tests/port/chromium.py:
     15
    1162010-04-19  James Robinson  <jamesr@chromium.org>
    217
  • trunk/WebKitTools/Scripts/webkitpy/layout_tests/port/chromium.py

    r57806 r57831  
    4141import base
    4242import http_server
    43 import webkit
     43
     44# FIXME: To use the DRT-based version of this file, we need to be able to
     45# run the webkit code, which uses server_process, which requires UNIX-style
     46# non-blocking I/O with selects(), which requires fcntl() which doesn't exist
     47# on Windows.
     48if sys.platform not in ('win32', 'cygwin'):
     49    import webkit
     50
    4451import websocket_server
    4552
     
    7481        base.Port.__init__(self, port_name, options)
    7582        self._chromium_base_dir = None
     83
     84        # FIXME: see comment above re: import webkit
     85        if sys.platform in ('win32', 'cygwin') and options:
     86            options.use_drt = False
    7687
    7788    def baseline_path(self):
Note: See TracChangeset for help on using the changeset viewer.