Changeset 57425 in webkit
- Timestamp:
- Apr 10, 2010 4:39:33 PM (14 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r57424 r57425 1 2010-04-10 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Eric Seidel. 4 5 Sketch out the win port for new-run-webkit-tests 6 https://bugs.webkit.org/show_bug.cgi?id=37393 7 8 I haven't tried running this yet, but we've got to start somewhere. 9 10 * Scripts/webkitpy/layout_tests/port/factory.py: 11 * Scripts/webkitpy/layout_tests/port/mac.py: 12 * Scripts/webkitpy/layout_tests/port/webkit.py: 13 * Scripts/webkitpy/layout_tests/port/win.py: Added. 14 1 15 2010-04-10 Ojan Vafai <ojan@chromium.org> 2 16 -
trunk/WebKitTools/Scripts/webkitpy/layout_tests/port/factory.py
r56005 r57425 41 41 if port_to_use is None: 42 42 if sys.platform == 'win32': 43 port_to_use = 'chromium-win' 43 if options and hasattr(options, 'chromium') and options.chromium: 44 port_to_use = 'chromium-win' 45 else: 46 port_to_use = 'win' 44 47 elif sys.platform == 'linux2': 45 48 port_to_use = 'chromium-linux' … … 63 66 import mac 64 67 return mac.MacPort(port_name, options) 68 elif port_to_use.startswith('win'): 69 import win 70 return win.WinPort(port_name, options) 65 71 elif port_to_use.startswith('chromium-mac'): 66 72 import chromium_mac -
trunk/WebKitTools/Scripts/webkitpy/layout_tests/port/mac.py
r57423 r57425 1 #!/usr/bin/env python2 1 # Copyright (C) 2010 Google Inc. All rights reserved. 3 2 # -
trunk/WebKitTools/Scripts/webkitpy/layout_tests/port/webkit.py
r57423 r57425 66 66 67 67 def baseline_search_path(self): 68 raise NotImplementedError('WebKitPort.baseline_search_path') 68 return [self._webkit_baseline_path(self._name)] 69 70 def path_to_test_expectations_file(self): 71 return os.path.join(self._webkit_baseline_path(self._name), 72 'test_expectations.txt') 69 73 70 74 def _build_driver(self): … … 168 172 return result 169 173 170 def path_to_test_expectations_file(self):171 raise NotImplementedError('WebKitPort.path_to_test_expectations_file')172 173 174 def results_directory(self): 174 175 # FIXME: Why do we say chromium here? Maybe "new-run-webkit-tests-"? … … 191 192 # At the moment we don't use test platform names, but we have 192 193 # to return something. 193 return ('mac', )194 return ('mac', 'win') 194 195 195 196 def _tests_for_other_platforms(self): … … 241 242 return tests_to_skip 242 243 244 def _skipped_file_paths(self): 245 return [os.path.join(self._webkit_baseline_path(self._name, 246 'Skipped'))] 247 243 248 def _expectations_from_skipped_files(self): 244 249 tests_to_skip = [] … … 278 283 279 284 def test_platform_name(self): 280 r aise NotImplementedError('WebKitPort.test_platform_name')285 return self._name + self.version() 281 286 282 287 def test_platform_names(self):
Note: See TracChangeset
for help on using the changeset viewer.