Changeset 139679 in webkit
- Timestamp:
- Jan 14, 2013, 3:50:42 PM (12 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r139663 r139679 1 2013-01-14 Dirk Pranke <dpranke@chromium.org> 2 3 nrwt: use the same search path for baselines and TestExpectations on apple mac 4 https://bugs.webkit.org/show_bug.cgi?id=105599 5 6 Reviewed by Ryosuke Niwa. 7 8 Bug 105583 revealed some confusion due to the fact that the Apple 9 Mac port used a different list of directories to search for baselines 10 and TestExpectations files (actually, pretty much every port does). 11 12 It seems like a good idea to use the same list for both by default, but 13 making this happen will affect every port in slightly different ways, so 14 we'll try this on the Apple Mac port first. 15 16 Note that the effective changes for this are that: 17 1) The apple mac port will look in platform/wk2 for baselines where 18 it didn't before (it will look after looking in mac-wk2 but before 19 the non-wk2 dirs) 20 2) The apple mac-snowleopard port will use the expectations in 21 mac-lion as well as the expectations in mac-snowleopard, although 22 I'm not even sure if mac-snowleopard is still supported ... 23 24 * Scripts/webkitpy/layout_tests/port/mac.py: 25 (MacPort.default_baseline_search_path): 26 (MacPort.expectations_files): 27 * Scripts/webkitpy/layout_tests/port/mac_unittest.py: 28 (test_baseline_search_path): 29 1 30 2013-01-14 Dominic Mazzoni <dmazzoni@google.com> 2 31 -
trunk/Tools/Scripts/webkitpy/layout_tests/port/mac.py
r137650 r139679 80 80 fallback_names = self.VERSION_FALLBACK_ORDER[self.VERSION_FALLBACK_ORDER.index(name):-1] + [self.port_name] 81 81 if self.get_option('webkit_test_runner'): 82 fallback_names.insert(0, self._wk2_port_name()) 83 # Note we do not add 'wk2' here, even though it's included in _skipped_search_paths(). 82 fallback_names = [self._wk2_port_name(), 'wk2'] + fallback_names 84 83 return map(self._webkit_baseline_path, fallback_names) 84 85 def expectations_files(self): 86 return reversed([self._filesystem.join(self._webkit_baseline_path(d), 'TestExpectations') for d in self.baseline_search_path()]) 85 87 86 88 def setup_environ_for_server(self, server_name=None): -
trunk/Tools/Scripts/webkitpy/layout_tests/port/mac_unittest.py
r136443 r139679 131 131 self._assert_search_path('mac-mountainlion', 'mac', ['mac']) 132 132 self._assert_search_path('mac-future', 'mac', ['mac']) 133 self._assert_search_path('mac-snowleopard', 'mac-wk2', ['mac-wk2', ' mac-snowleopard', 'mac-lion', 'mac'], use_webkit2=True)134 self._assert_search_path('mac-lion', 'mac-wk2', ['mac-wk2', ' mac-lion', 'mac'], use_webkit2=True)135 self._assert_search_path('mac-mountainlion', 'mac-wk2', ['mac-wk2', ' mac'], use_webkit2=True)136 self._assert_search_path('mac-future', 'mac-wk2', ['mac-wk2', ' mac'], use_webkit2=True)133 self._assert_search_path('mac-snowleopard', 'mac-wk2', ['mac-wk2', 'wk2', 'mac-snowleopard', 'mac-lion', 'mac'], use_webkit2=True) 134 self._assert_search_path('mac-lion', 'mac-wk2', ['mac-wk2', 'wk2', 'mac-lion', 'mac'], use_webkit2=True) 135 self._assert_search_path('mac-mountainlion', 'mac-wk2', ['mac-wk2', 'wk2', 'mac'], use_webkit2=True) 136 self._assert_search_path('mac-future', 'mac-wk2', ['mac-wk2', 'wk2', 'mac'], use_webkit2=True) 137 137 138 138 def test_show_results_html_file(self):
Note:
See TracChangeset
for help on using the changeset viewer.