Skip to content

Commit 66a202b

Browse files
committed
Improve step description when compile-webkit step is skipped
https://bugs.webkit.org/show_bug.cgi?id=224373 Reviewed by Jonathan Bedard. * CISupport/ews-build/steps.py: (CompileWebKit.getResultSummary): Set custom summary when this step is skipped. * CISupport/ews-build/steps_unittest.py: Updated unit-tests. Canonical link: https://commits.webkit.org/236366@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@275795 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent de4e4e3 commit 66a202b

3 files changed

Lines changed: 17 additions & 2 deletions

File tree

Tools/CISupport/ews-build/steps.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1595,6 +1595,10 @@ def evaluateCommand(self, cmd):
15951595
def getResultSummary(self):
15961596
if self.results == FAILURE:
15971597
return {'step': 'Failed to compile WebKit'}
1598+
if self.results == SKIPPED:
1599+
if self.getProperty('fast_commit_queue'):
1600+
return {'step': 'Skipped compiling WebKit in fast-cq mode'}
1601+
return {'step': 'Skipped compiling WebKit'}
15981602
return shell.Compile.getResultSummary(self)
15991603

16001604

Tools/CISupport/ews-build/steps_unittest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1121,7 +1121,7 @@ def test_skip_for_revert_patches_on_commit_queue(self):
11211121
self.setProperty('buildername', 'Commit-Queue')
11221122
self.setProperty('configuration', 'debug')
11231123
self.setProperty('fast_commit_queue', True)
1124-
self.expectOutcome(result=SKIPPED, state_string='Compiled WebKit (skipped)')
1124+
self.expectOutcome(result=SKIPPED, state_string='Skipped compiling WebKit in fast-cq mode')
11251125
return self.runStep()
11261126

11271127

@@ -1169,7 +1169,7 @@ def test_skip(self):
11691169
self.setProperty('fullPlatform', 'ios-simulator-11')
11701170
self.setProperty('configuration', 'release')
11711171
self.expectHidden(True)
1172-
self.expectOutcome(result=SKIPPED, state_string='Compiled WebKit (skipped)')
1172+
self.expectOutcome(result=SKIPPED, state_string='Skipped compiling WebKit')
11731173
return self.runStep()
11741174

11751175

Tools/ChangeLog

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
2021-04-10 Aakash Jain <aakash_jain@apple.com>
2+
3+
Improve step description when compile-webkit step is skipped
4+
https://bugs.webkit.org/show_bug.cgi?id=224373
5+
6+
Reviewed by Jonathan Bedard.
7+
8+
* CISupport/ews-build/steps.py:
9+
(CompileWebKit.getResultSummary): Set custom summary when this step is skipped.
10+
* CISupport/ews-build/steps_unittest.py: Updated unit-tests.
11+
112
2021-04-09 Wenson Hsieh <wenson_hsieh@apple.com>
213

314
REGRESSION (r271660): Tap highlight no longer shows when tapping clickable elements without touch event listeners

0 commit comments

Comments
 (0)