Changeset 57850 in webkit
- Timestamp:
- Apr 19, 2010 4:05:44 PM (14 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r57849 r57850 1 2010-04-19 Dirk Pranke <dpranke@chromium.org> 2 3 Reviewed by Adam Barth. 4 5 From a patch by Tor Arne Vestbo <tor.arne.vestbo@nokia.com> 6 7 new-run-webkit-tests: make the retry step more explicit 8 https://bugs.webkit.org/show_bug.cgi?id=37606 9 10 It might be confusing to see the test and percent counters 11 reset without any notice of what's going on, so we make the 12 message that a retry-run is started explicit. 13 14 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 15 1 16 2010-04-19 Sam Weinig <weinig@apple.com> 2 17 -
trunk/WebKitTools/Scripts/webkitpy/layout_tests/run_webkit_tests.py
r57843 r57850 218 218 self._current_progress_str = "" 219 219 self._current_test_number = 0 220 221 self._retries = 0 220 222 221 223 def __del__(self): … … 654 656 # we want to treat even a potentially flaky crash as an error. 655 657 failures = self._get_failures(result_summary, include_crashes=False) 656 retries = 0657 658 retry_summary = result_summary 658 while ( retries < self.NUM_RETRY_ON_UNEXPECTED_FAILURE and659 while (self._retries < self.NUM_RETRY_ON_UNEXPECTED_FAILURE and 659 660 len(failures)): 660 _log.debug("Retrying %d unexpected failure(s)" % len(failures)) 661 retries += 1 661 _log.info('') 662 _log.info("Retrying %d unexpected failure(s)" % len(failures)) 663 _log.info('') 664 self._retries += 1 662 665 retry_summary = ResultSummary(self._expectations, failures.keys()) 663 666 self._run_tests(failures.keys(), retry_summary) … … 740 743 percent_complete = 100 * (result_summary.expected + 741 744 result_summary.unexpected) / result_summary.total 742 self._meter.progress("Testing (%d%%): %d ran as expected, %d didn't," 743 " %d left" % (percent_complete, result_summary.expected, 745 action = "Testing" 746 if self._retries > 0: 747 action = "Retrying" 748 self._meter.progress("%s (%d%%): %d ran as expected, %d didn't," 749 " %d left" % (action, percent_complete, result_summary.expected, 744 750 result_summary.unexpected, result_summary.remaining)) 745 751
Note: See TracChangeset
for help on using the changeset viewer.