Changeset 259719 in webkit


Ignore:
Timestamp:
Apr 8, 2020 9:17:55 AM (4 years ago)
Author:
aakash_jain@apple.com
Message:

[ews] Improve summary for CheckPatchRelevance build step (follow-up fix)
https://bugs.webkit.org/show_bug.cgi?id=210146

Unreviewed follow-up fix.

Revert the failure message for CheckPatchRelevance to old one since it needs to match with status-bubble code.

  • BuildSlaveSupport/ews-build/steps.py:
  • BuildSlaveSupport/ews-build/steps_unittest.py:

(TestCheckPatchRelevance.test_non_relevant_patch):

Location:
trunk/Tools
Files:
3 edited

Legend:

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

    r259718 r259719  
    347347            return None
    348348
    349         self._addToLog('stdio', 'This patch does not contain relevant changes.')
     349        self._addToLog('stdio', 'This patch does not have relevant changes.')
    350350        self.finished(FAILURE)
    351351        self.build.results = SKIPPED
    352         self.build.buildFinished(['Patch {} doesn\'t contain relevant changes'.format(self.getProperty('patch_id', ''))], SKIPPED)
     352        self.build.buildFinished(['Patch {} doesn\'t have relevant changes'.format(self.getProperty('patch_id', ''))], SKIPPED)
    353353        return None
    354354
    355355    def getResultSummary(self):
    356356        if self.results == FAILURE:
    357             return {u'step': u'Patch doesn\'t contain relevant changes'}
     357            return {u'step': u'Patch doesn\'t have relevant changes'}
    358358        return super(CheckPatchRelevance, self).getResultSummary()
    359359
  • trunk/Tools/BuildSlaveSupport/ews-build/steps_unittest.py

    r259718 r259719  
    21932193        self.setProperty('buildername', 'JSC-Tests-EWS')
    21942194        self.setProperty('patch_id', '1234')
    2195         self.expectOutcome(result=FAILURE, state_string='Patch doesn\'t contain relevant changes')
     2195        self.expectOutcome(result=FAILURE, state_string='Patch doesn\'t have relevant changes')
    21962196        return self.runStep()
    21972197
  • trunk/Tools/ChangeLog

    r259718 r259719  
     12020-04-08  Aakash Jain  <aakash_jain@apple.com>
     2
     3        [ews] Improve summary for CheckPatchRelevance build step (follow-up fix)
     4        https://bugs.webkit.org/show_bug.cgi?id=210146
     5
     6        Unreviewed follow-up fix.
     7
     8        Revert the failure message for CheckPatchRelevance to old one since it needs to match with status-bubble code.
     9        * BuildSlaveSupport/ews-build/steps.py:
     10        * BuildSlaveSupport/ews-build/steps_unittest.py:
     11        (TestCheckPatchRelevance.test_non_relevant_patch):
     12
    1132020-04-08  Aakash Jain  <aakash_jain@apple.com>
    214
Note: See TracChangeset for help on using the changeset viewer.