Changeset 249104 in webkit
- Timestamp:
- Aug 26, 2019 10:48:11 AM (5 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/BuildSlaveSupport/ews-build/steps.py
r249100 r249104 501 501 status = self.name 502 502 503 if self.results != SUCCESS and self.failedTestCount:504 status = self.failedTestsFormatString % (self.failedTestCount, self.failedTestPluralSuffix)505 506 503 if self.results != SUCCESS: 507 status += u' ({})'.format(Results[self.results]) 508 509 return {u'step': status} 504 if self.failedTestCount: 505 status = self.failedTestsFormatString % (self.failedTestCount, self.failedTestPluralSuffix) 506 else: 507 status += u' ({})'.format(Results[self.results]) 508 509 return {u'step': unicode(status)} 510 510 511 511 -
trunk/Tools/BuildSlaveSupport/ews-build/steps_unittest.py
r249100 r249104 259 259 + 2, 260 260 ) 261 self.expectOutcome(result=FAILURE, state_string='8 style errors (failure)')261 self.expectOutcome(result=FAILURE, state_string='8 style errors') 262 262 return self.runStep() 263 263 … … 1867 1867 + 1, 1868 1868 ) 1869 self.expectOutcome(result=FAILURE, state_string='1 api test failed or timed out (failure)')1869 self.expectOutcome(result=FAILURE, state_string='1 api test failed or timed out') 1870 1870 return self.runStep() 1871 1871 … … 1923 1923 + 4, 1924 1924 ) 1925 self.expectOutcome(result=FAILURE, state_string='4 api tests failed or timed out (failure)')1925 self.expectOutcome(result=FAILURE, state_string='4 api tests failed or timed out') 1926 1926 return self.runStep() 1927 1927 -
trunk/Tools/ChangeLog
r249102 r249104 1 2019-08-26 Aakash Jain <aakash_jain@apple.com> 2 3 [EWS] Do not append additional '(failure)' string at the end of custom failure message in EWS Buildbot 4 https://bugs.webkit.org/show_bug.cgi?id=201140 5 6 Reviewed by Jonathan Bedard. 7 8 * BuildSlaveSupport/ews-build/steps.py: 9 (TestWithFailureCount.getResultSummary): Do not append (failure) when in case of custom status. 10 * BuildSlaveSupport/ews-build/steps_unittest.py: Updated unit-tests accordingly. 11 1 12 2019-08-26 Jonathan Bedard <jbedard@apple.com> 2 13
Note: See TracChangeset
for help on using the changeset viewer.