Changeset 251849 in webkit
- Timestamp:
- Oct 31, 2019 8:42:49 AM (4 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/BuildSlaveSupport/ews-build/steps.py
r251653 r251849 1452 1452 description = ['analyze-api-test-results'] 1453 1453 descriptionDone = ['analyze-api-tests-results'] 1454 NUM_API_FAILURES_TO_DISPLAY = 10 1454 1455 1455 1456 def start(self): … … 1493 1494 flaky_failures_string = ', '.join([failure_name.replace('TestWebKitAPI.', '') for failure_name in flaky_failures]) 1494 1495 new_failures = failures_with_patch - clean_tree_failures 1495 new_failures_string = ', '.join([failure_name.replace('TestWebKitAPI.', '') for failure_name in new_failures]) 1496 new_failures_to_display = list(new_failures)[:self.NUM_API_FAILURES_TO_DISPLAY] 1497 new_failures_string = ', '.join([failure_name.replace('TestWebKitAPI.', '') for failure_name in new_failures_to_display]) 1496 1498 1497 1499 self._addToLog('stderr', '\nFailures in API Test first run: {}'.format(first_run_failures)) … … 1506 1508 pluralSuffix = 's' if len(new_failures) > 1 else '' 1507 1509 message = 'Found {} new API test failure{}: {}'.format(len(new_failures), pluralSuffix, new_failures_string) 1510 if len(new_failures) > self.NUM_API_FAILURES_TO_DISPLAY: 1511 message += ' ...' 1508 1512 self.descriptionDone = message 1509 1513 self.build.buildFinished([message], FAILURE) -
trunk/Tools/ChangeLog
r251834 r251849 1 2019-10-31 Aakash Jain <aakash_jain@apple.com> 2 3 [EWS] Limit API tests failures to display in the status-bubble tooltip and buildbot summary 4 https://bugs.webkit.org/show_bug.cgi?id=203678 5 6 Reviewed by Jonathan Bedard. 7 8 * BuildSlaveSupport/ews-build/steps.py: 9 (AnalyzeAPITestsResults): Define NUM_API_FAILURES_TO_DISPLAY as 10. 10 (AnalyzeAPITestsResults.analyzeResults): Truncate the failure string to contain 10 test failures. 11 1 12 2019-10-30 Peng Liu <peng.liu6@apple.com> 2 13
Note: See TracChangeset
for help on using the changeset viewer.