Changeset 251869 in webkit


Ignore:
Timestamp:
Oct 31, 2019 12:56:34 PM (4 years ago)
Author:
aakash_jain@apple.com
Message:

[ews-build] Display pre-existing API test names in the build summary
https://bugs.webkit.org/show_bug.cgi?id=199525

Reviewed by Jonathan Bedard.

  • BuildSlaveSupport/ews-build/steps.py:

(AnalyzeAPITestsResults.analyzeResults): Include the names of pre-existing test failures in summary string and
limit the number of failures to display to NUM_API_FAILURES_TO_DISPLAY.

Location:
trunk/Tools
Files:
2 edited

Legend:

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

    r251849 r251869  
    14891489        second_run_failures = getAPITestFailures(second_run_results)
    14901490        clean_tree_failures = getAPITestFailures(clean_tree_results)
     1491        clean_tree_failures_to_display = list(clean_tree_failures)[:self.NUM_API_FAILURES_TO_DISPLAY]
     1492        clean_tree_failures_string = ', '.join(clean_tree_failures_to_display)
    14911493
    14921494        failures_with_patch = first_run_failures.intersection(second_run_failures)
     
    15181520            self.descriptionDone = 'Passed API tests'
    15191521            pluralSuffix = 's' if len(clean_tree_failures) > 1 else ''
    1520             message = 'Found {} pre-existing API test failure{}'.format(len(clean_tree_failures), pluralSuffix)
     1522            message = 'Found {} pre-existing API test failure{}: {}'.format(len(clean_tree_failures), pluralSuffix, clean_tree_failures_string)
     1523            if len(clean_tree_failures) > self.NUM_API_FAILURES_TO_DISPLAY:
     1524                message += ' ...'
    15211525            if flaky_failures:
    15221526                message += '. Flaky tests: {}'.format(flaky_failures_string)
  • trunk/Tools/ChangeLog

    r251859 r251869  
     12019-10-31  Aakash Jain  <aakash_jain@apple.com>
     2
     3        [ews-build] Display pre-existing API test names in the build summary
     4        https://bugs.webkit.org/show_bug.cgi?id=199525
     5
     6        Reviewed by Jonathan Bedard.
     7
     8        * BuildSlaveSupport/ews-build/steps.py:
     9        (AnalyzeAPITestsResults.analyzeResults): Include the names of pre-existing test failures in summary string and
     10        limit the number of failures to display to NUM_API_FAILURES_TO_DISPLAY.
     11
    1122019-10-31  Alex Christensen  <achristensen@webkit.org>
    213
Note: See TracChangeset for help on using the changeset viewer.