Changeset 157687 in webkit
- Timestamp:
- Oct 19, 2013 4:38:14 PM (11 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r157686 r157687 1 2013-10-19 Ryosuke Niwa <rniwa@webkit.org> 2 3 run-webkit-tests should submit time and modifiers to the new flakiness dashboard 4 https://bugs.webkit.org/show_bug.cgi?id=123070 5 6 Reviewed by Alexey Proskuryakov. 7 8 * Scripts/webkitpy/layout_tests/controllers/manager.py: 9 (Manager.run): 10 * Scripts/webkitpy/layout_tests/models/test_run_results.py: 11 (summarize_results): Added include_time_and_modifiers. Report test_run_time and modifiers 12 in the test expectations when this argument is set to true. 13 1 14 2013-10-19 Alexey Proskuryakov <ap@apple.com> 2 15 -
trunk/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py
r157553 r157687 229 229 results_including_passes = None 230 230 if self._options.results_server_host: 231 results_including_passes = test_run_results.summarize_results(self._port, self._expectations, initial_results, retry_results, enabled_pixel_tests_in_retry, include_passes=True )231 results_including_passes = test_run_results.summarize_results(self._port, self._expectations, initial_results, retry_results, enabled_pixel_tests_in_retry, include_passes=True, include_time_and_modifiers=True) 232 232 self._printer.print_results(end_time - start_time, initial_results, summarized_results) 233 233 -
trunk/Tools/Scripts/webkitpy/layout_tests/models/test_run_results.py
r154450 r157687 119 119 120 120 121 def summarize_results(port_obj, expectations, initial_results, retry_results, enabled_pixel_tests_in_retry, include_passes=False ):121 def summarize_results(port_obj, expectations, initial_results, retry_results, enabled_pixel_tests_in_retry, include_passes=False, include_time_and_modifiers=False): 122 122 """Returns a dictionary containing a summary of the test runs, with the following fields: 123 123 'version': a version indicator … … 202 202 test_dict['expected'] = expected 203 203 test_dict['actual'] = " ".join(actual) 204 if include_time_and_modifiers: 205 test_dict['time'] = round(1000 * result.test_run_time) 206 # FIXME: Fix get_modifiers to return modifiers in new format. 207 test_dict['modifiers'] = ' '.join(expectations.get_modifiers(test_name)).replace('BUGWK', 'webkit.org/b/') 204 208 205 209 test_dict.update(_interpret_test_failures(result.failures))
Note: See TracChangeset
for help on using the changeset viewer.