Changeset 68792 in webkit


Ignore:
Timestamp:
Sep 30, 2010 9:39:52 AM (14 years ago)
Author:
Adam Roben
Message:

Fix path -> URL conversion on Cygwin

Reviewed by Adam Barth.

Fixes <http://webkit.org/b/46890> <rdar://problem/8496637> Many tests
in webkitpy.layout_tests.run_webkit_tests_unittest assert on Windows

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

(Port.filename_to_uri): Treat Cygwin like other UNIX-y platforms by
assuming paths already have a leading slash.

Location:
trunk/WebKitTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r68785 r68792  
     12010-09-30  Adam Roben  <aroben@apple.com>
     2
     3        Fix path -> URL conversion on Cygwin
     4
     5        Reviewed by Adam Barth.
     6
     7        Fixes <http://webkit.org/b/46890> <rdar://problem/8496637> Many tests
     8        in webkitpy.layout_tests.run_webkit_tests_unittest assert on Windows
     9
     10        * Scripts/webkitpy/layout_tests/port/base.py:
     11        (Port.filename_to_uri): Treat Cygwin like other UNIX-y platforms by
     12        assuming paths already have a leading slash.
     13
    1142010-09-30  Adam Roben  <aroben@apple.com>
    215
  • trunk/WebKitTools/Scripts/webkitpy/layout_tests/port/base.py

    r68365 r68792  
    312312            return "%s://127.0.0.1:%u/%s" % (protocol, port, relative_path)
    313313
    314         if sys.platform in ('cygwin', 'win32'):
     314        if sys.platform is 'win32':
    315315            return "file:///" + self.get_absolute_path(filename)
    316316        return "file://" + self.get_absolute_path(filename)
Note: See TracChangeset for help on using the changeset viewer.