Changeset 205480 in webkit
- Timestamp:
- Sep 6, 2016 9:01:54 AM (8 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r205479 r205480 1 2016-09-06 Youenn Fablet <youenn@apple.com> 2 3 Using tests-options.json to compute whether tests are slow 4 https://bugs.webkit.org/show_bug.cgi?id=161626 5 6 Reviewed by Darin Adler. 7 8 * TestExpectations: Removing slow WPT expectations now that they are handled through tests-options.json. 9 1 10 2016-09-06 Zalan Bujtas <zalan@apple.com> 2 11 -
trunk/LayoutTests/TestExpectations
r205473 r205480 263 263 imported/w3c/web-platform-tests/html/browsers/windows/targeting-cross-origin-nested-browsing-contexts.sub.html [ Pass Failure ] 264 264 265 # W3C XMLHttpRequest tests266 imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-aborted.html [ Slow ]267 imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-abortedonmain.html [ Slow ]268 imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-overrides.html [ Slow ]269 imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-overridesexpires.html [ Slow ]270 imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-simple.html [ Slow ]271 imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-synconmain.html [ Slow ]272 imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-twice.html [ Slow ]273 imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-worker-aborted.html [ Slow ]274 imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-worker-overrides.html [ Slow ]275 imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-worker-overridesexpires.html [ Slow ]276 imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-worker-simple.html [ Slow ]277 imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-worker-synconworker.html [ Slow ]278 imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-worker-twice.html [ Slow ]279 265 # XMLHttpRequest tests requiring DTR/WTR to allow other URLs than localhost to not be blocked and be reachable (www2.localhost) 280 266 imported/w3c/web-platform-tests/XMLHttpRequest/send-redirect-bogus.htm [ Skip ] -
trunk/Tools/ChangeLog
r205478 r205480 1 2016-09-06 Youenn Fablet <youenn@apple.com> 2 3 Using tests-options.json to compute whether tests are slow 4 https://bugs.webkit.org/show_bug.cgi?id=161626 5 6 Reviewed by Darin Adler. 7 8 * Scripts/webkitpy/layout_tests/controllers/manager.py: 9 (Manager.__init__): Loading tests-options.json 10 (Manager._test_is_slow): Computing timeout value based on tests-options.json. 11 1 12 2016-09-06 Commit Queue <commit-queue@webkit.org> 2 13 -
trunk/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py
r205080 r205480 86 86 self._finder = LayoutTestFinder(self._port, self._options) 87 87 self._runner = LayoutTestRunner(self._options, self._port, self._printer, self._results_directory, self._test_is_slow) 88 self._tests_options = json.loads(self._filesystem.read_text_file(self._port.path_from_webkit_base(self.LAYOUT_TESTS_DIRECTORY, "tests-options.json"))) 88 89 89 90 def _collect_tests(self, args): … … 132 133 133 134 def _test_is_slow(self, test_file): 134 return self._expectations.model().has_modifier(test_file, test_expectations.SLOW) 135 if self._expectations.model().has_modifier(test_file, test_expectations.SLOW): 136 return True 137 return "slow" in self._tests_options.get(test_file, []) 135 138 136 139 def needs_servers(self, test_names):
Note: See TracChangeset
for help on using the changeset viewer.