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

Changeset 119457 in webkit


Ignore:
Timestamp:
Jun 4, 2012, 9:49:54 PM (14 years ago)
Author:
rniwa@webkit.org
Message:

Python test fix attempt for Chromium Windows.

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

(Driver.uri_to_test):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r119452 r119457  
     12012-06-04  Ryosuke Niwa  <rniwa@webkit.org>
     2
     3        Python test fix attempt for Chromium Windows.
     4
     5        * Scripts/webkitpy/layout_tests/port/driver.py:
     6        (Driver.uri_to_test):
     7
    182012-06-04  Hugo Parente Lima  <hugo.lima@openbossa.org>
    29
  • trunk/Tools/Scripts/webkitpy/layout_tests/port/driver.py

    r114788 r119457  
    151151        """
    152152        if uri.startswith("file:///"):
    153             return uri[len(path.abspath_to_uri(self._port.layout_tests_dir()) + "/"):]
     153            prefix = path.abspath_to_uri(self._port.layout_tests_dir())
     154            if not prefix.endswith('/'):
     155                prefix += '/'
     156            return uri[len(prefix):]
    154157        if uri.startswith("http://"):
    155158            return uri.replace('http://127.0.0.1:8000/', self.HTTP_DIR)
Note: See TracChangeset for help on using the changeset viewer.