Changeset 251938 in webkit


Ignore:
Timestamp:
Nov 1, 2019 1:55:24 PM (4 years ago)
Author:
aakash_jain@apple.com
Message:

[ews] Improve summary string when there are flaky failures in API tests
https://bugs.webkit.org/show_bug.cgi?id=203747

Reviewed by Jonathan Bedard.

  • BuildSlaveSupport/ews-build/steps.py:

(AnalyzeAPITestsResults.analyzeResults): Display pre-existing failure string string only
if there are pre-existing API test failures.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/BuildSlaveSupport/ews-build/steps.py

    r251927 r251938  
    15211521            self.descriptionDone = 'Passed API tests'
    15221522            pluralSuffix = 's' if len(clean_tree_failures) > 1 else ''
    1523             message = 'Found {} pre-existing API test failure{}: {}'.format(len(clean_tree_failures), pluralSuffix, clean_tree_failures_string)
     1523            message = ''
     1524            if clean_tree_failures:
     1525                message = 'Found {} pre-existing API test failure{}: {}'.format(len(clean_tree_failures), pluralSuffix, clean_tree_failures_string)
    15241526            if len(clean_tree_failures) > self.NUM_API_FAILURES_TO_DISPLAY:
    15251527                message += ' ...'
    15261528            if flaky_failures:
    1527                 message += '. Flaky tests: {}'.format(flaky_failures_string)
     1529                message += ' Found flaky tests: {}'.format(flaky_failures_string)
    15281530            self.build.buildFinished([message], SUCCESS)
    15291531
  • trunk/Tools/ChangeLog

    r251931 r251938  
     12019-11-01  Aakash Jain  <aakash_jain@apple.com>
     2
     3        [ews] Improve summary string when there are flaky failures in API tests
     4        https://bugs.webkit.org/show_bug.cgi?id=203747
     5
     6        Reviewed by Jonathan Bedard.
     7
     8        * BuildSlaveSupport/ews-build/steps.py:
     9        (AnalyzeAPITestsResults.analyzeResults): Display pre-existing failure string string only
     10        if there are pre-existing API test failures.
     11
    1122019-11-01  Wenson Hsieh  <wenson_hsieh@apple.com>
    213
Note: See TracChangeset for help on using the changeset viewer.