Changeset 57437 in webkit


Ignore:
Timestamp:
Apr 10, 2010 10:10:51 PM (14 years ago)
Author:
abarth@webkit.org
Message:

2010-04-10 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

new-run-webkit-tests can't find ImageDiff on Windows
https://bugs.webkit.org/show_bug.cgi?id=37403

It turns out the build directory on Windows is structured differently
than it is on other platforms. Instead of assuming the normal
structure, we should just ask perl to figure it out for us.

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

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r57435 r57437  
     12010-04-10  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        new-run-webkit-tests can't find ImageDiff on Windows
     6        https://bugs.webkit.org/show_bug.cgi?id=37403
     7
     8        It turns out the build directory on Windows is structured differently
     9        than it is on other platforms.  Instead of assuming the normal
     10        structure, we should just ask perl to figure it out for us.
     11
     12        * Scripts/webkitpy/layout_tests/port/webkit.py:
     13
    1142010-04-10  Adam Barth  <abarth@webkit.org>
    215
  • trunk/WebKitTools/Scripts/webkitpy/layout_tests/port/webkit.py

    r57434 r57437  
    307307    def _build_path(self, *comps):
    308308        if not self._cached_build_root:
    309             self._cached_build_root = self._webkit_build_directory(["--top-level"])
    310         return os.path.join(self._cached_build_root, self._options.configuration,
    311                             *comps)
     309            self._cached_build_root = self._webkit_build_directory([
     310                "--configuration",
     311                self.flag_from_configuration(self._options.configuration),
     312            ])
     313        return os.path.join(self._cached_build_root, *comps)
    312314
    313315    def _path_to_driver(self):
Note: See TracChangeset for help on using the changeset viewer.