Changeset 150850 in webkit
- Timestamp:
- May 28, 2013 3:59:03 PM (11 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r150806 r150850 1 2013-05-28 Brent Fulgham <bfulgham@apple.com> 2 3 [Windows] NRWT reports failure for 'mac' test cases. 4 https://bugs.webkit.org/show_bug.cgi?id=116698 5 6 Reviewed by Ryosuke Niwa. 7 8 The Windows port falls back to the Mac port for many test results, 9 and so adds the mac and mac-wk2 to its set of fallbacks. 10 Unfortunately, NRWT thinks that this means that tests in these 11 folders should be executed, resulting in many failures on 12 Windows. 13 14 This change overloads the '_tests_for_other_platforms' method 15 to return a subset of the result fallback list so that we do 16 not attempt to execute Mac tests on Windows. 17 18 * Scripts/webkitpy/port/base.py: 19 (Port.test_search_path): Added. Defaults to just calling the 20 baseline_search_path method, which is how most ports behave. 21 (Port._test_for_other_platforms): Modified to call the new 22 test_search_path method. 23 24 * Scripts/webkitpy/port/win.py: 25 (WinPort.test_search_path): Added custom overload. Strips 26 out mac-specific test paths. 27 1 28 2013-05-28 Martin Robinson <mrobinson@igalia.com> 2 29 -
trunk/Tools/Scripts/webkitpy/port/base.py
r150800 r150850 1456 1456 return [] 1457 1457 1458 def test_search_path(self): 1459 return self.baseline_search_path() 1460 1458 1461 def _tests_for_other_platforms(self): 1459 1462 # By default we will skip any directory under LayoutTests/platform … … 1464 1467 dirs_to_skip = [] 1465 1468 for entry in entries: 1466 if self._filesystem.isdir(entry) and entry not in self. baseline_search_path():1469 if self._filesystem.isdir(entry) and entry not in self.test_search_path(): 1467 1470 basename = self._filesystem.basename(entry) 1468 1471 dirs_to_skip.append('platform/%s' % basename) -
trunk/Tools/Scripts/webkitpy/port/win.py
r150670 r150850 119 119 def _driver_tempdir_for_environment(self): 120 120 return cygpath(self._driver_tempdir()) 121 122 def test_search_path(self): 123 test_fallback_names = [path for path in self.baseline_search_path() if not path.startswith(self._webkit_baseline_path('mac'))] 124 return map(self._webkit_baseline_path, test_fallback_names)
Note: See TracChangeset
for help on using the changeset viewer.