diff options
author | Steve Block <steveblock@google.com> | 2010-04-27 16:23:55 +0100 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2010-04-27 17:07:03 +0100 |
commit | 692e5dbf12901edacf14812a6fae25462920af42 (patch) | |
tree | d62802373a429e0a9dc093b6046c166b2c514285 /WebKitTools/Scripts/webkitpy/layout_tests/port/chromium.py | |
parent | e24bea4efef1c414137d36a9778aa4e142e10c7d (diff) | |
download | external_webkit-692e5dbf12901edacf14812a6fae25462920af42.zip external_webkit-692e5dbf12901edacf14812a6fae25462920af42.tar.gz external_webkit-692e5dbf12901edacf14812a6fae25462920af42.tar.bz2 |
Merge webkit.org at r55033 : Initial merge by git
Change-Id: I98a4af828067cc243ec3dc5e5826154dd88074b5
Diffstat (limited to 'WebKitTools/Scripts/webkitpy/layout_tests/port/chromium.py')
-rw-r--r-- | WebKitTools/Scripts/webkitpy/layout_tests/port/chromium.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/WebKitTools/Scripts/webkitpy/layout_tests/port/chromium.py b/WebKitTools/Scripts/webkitpy/layout_tests/port/chromium.py index 70a8dea..1123376 100644 --- a/WebKitTools/Scripts/webkitpy/layout_tests/port/chromium.py +++ b/WebKitTools/Scripts/webkitpy/layout_tests/port/chromium.py @@ -88,6 +88,10 @@ class ChromiumPort(base.Port): self._chromium_base_dir = abspath[0:abspath.find('third_party')] return os.path.join(self._chromium_base_dir, *comps) + def path_to_test_expectations_file(self): + return self.path_from_chromium_base('webkit', 'tools', 'layout_tests', + 'test_expectations.txt') + def results_directory(self): return self.path_from_chromium_base('webkit', self._options.target, self._options.results_directory) @@ -128,13 +132,12 @@ class ChromiumPort(base.Port): def test_base_platform_names(self): return ('linux', 'mac', 'win') - def test_expectations(self, options=None): + def test_expectations(self): """Returns the test expectations for this port. Basically this string should contain the equivalent of a test_expectations file. See test_expectations.py for more details.""" - expectations_file = self.path_from_chromium_base('webkit', 'tools', - 'layout_tests', 'test_expectations.txt') + expectations_file = self.path_to_test_expectations_file() return file(expectations_file, "r").read() def test_platform_names(self): @@ -154,7 +157,6 @@ class ChromiumPort(base.Port): return self.path_from_chromium_base('webkit', 'data', 'layout_tests', 'platform', platform, 'LayoutTests') - class ChromiumDriver(base.Driver): """Abstract interface for the DumpRenderTree interface.""" |