Title: [158039] branches/safari-537.73-branch/Tools

Diff

Modified: branches/safari-537.73-branch/Tools/ChangeLog (158038 => 158039)


--- branches/safari-537.73-branch/Tools/ChangeLog	2013-10-25 20:33:39 UTC (rev 158038)
+++ branches/safari-537.73-branch/Tools/ChangeLog	2013-10-25 20:34:34 UTC (rev 158039)
@@ -1,5 +1,22 @@
 2013-10-25  Lucas Forschler  <[email protected]>
 
+        Merge r157687
+
+    2013-10-19  Ryosuke Niwa  <[email protected]>
+
+            run-webkit-tests should submit time and modifiers to the new flakiness dashboard
+            https://bugs.webkit.org/show_bug.cgi?id=123070
+
+            Reviewed by Alexey Proskuryakov.
+
+            * Scripts/webkitpy/layout_tests/controllers/manager.py:
+            (Manager.run):
+            * Scripts/webkitpy/layout_tests/models/test_run_results.py:
+            (summarize_results): Added include_time_and_modifiers. Report test_run_time and modifiers
+            in the test expectations when this argument is set to true.
+
+2013-10-25  Lucas Forschler  <[email protected]>
+
         Merge r157553
 
     2013-10-16  Ryosuke Niwa  <[email protected]>

Modified: branches/safari-537.73-branch/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py (158038 => 158039)


--- branches/safari-537.73-branch/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py	2013-10-25 20:33:39 UTC (rev 158038)
+++ branches/safari-537.73-branch/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py	2013-10-25 20:34:34 UTC (rev 158039)
@@ -229,7 +229,7 @@
         summarized_results = test_run_results.summarize_results(self._port, self._expectations, initial_results, retry_results, enabled_pixel_tests_in_retry)
         results_including_passes = None
         if self._options.results_server_host:
-            results_including_passes = test_run_results.summarize_results(self._port, self._expectations, initial_results, retry_results, enabled_pixel_tests_in_retry, include_passes=True)
+            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)
         self._printer.print_results(end_time - start_time, initial_results, summarized_results)
 
         if not self._options.dry_run:

Modified: branches/safari-537.73-branch/Tools/Scripts/webkitpy/layout_tests/models/test_run_results.py (158038 => 158039)


--- branches/safari-537.73-branch/Tools/Scripts/webkitpy/layout_tests/models/test_run_results.py	2013-10-25 20:33:39 UTC (rev 158038)
+++ branches/safari-537.73-branch/Tools/Scripts/webkitpy/layout_tests/models/test_run_results.py	2013-10-25 20:34:34 UTC (rev 158039)
@@ -118,7 +118,7 @@
     return test_dict
 
 
-def summarize_results(port_obj, expectations, initial_results, retry_results, enabled_pixel_tests_in_retry, include_passes=False):
+def summarize_results(port_obj, expectations, initial_results, retry_results, enabled_pixel_tests_in_retry, include_passes=False, include_time_and_modifiers=False):
     """Returns a dictionary containing a summary of the test runs, with the following fields:
         'version': a version indicator
         'fixable': The number of fixable tests (NOW - PASS)
@@ -201,6 +201,10 @@
 
         test_dict['expected'] = expected
         test_dict['actual'] = " ".join(actual)
+        if include_time_and_modifiers:
+            test_dict['time'] = round(1000 * result.test_run_time)
+            # FIXME: Fix get_modifiers to return modifiers in new format.
+            test_dict['modifiers'] = ' '.join(expectations.get_modifiers(test_name)).replace('BUGWK', 'webkit.org/b/')
 
         test_dict.update(_interpret_test_failures(result.failures))
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to