Changeset 246822 in webkit
- Timestamp:
- Jun 25, 2019 5:56:44 PM (5 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/BuildSlaveSupport/ews-build/steps.py
r246793 r246822 402 402 403 403 def doStepIf(self, step): 404 return self.getProperty('patchFailedToBuild') or self.getProperty('patchFailed JSCTests') or self.getProperty('patchFailedAPITests')404 return self.getProperty('patchFailedToBuild') or self.getProperty('patchFailedTests') 405 405 406 406 def hideStepIf(self, results, step): … … 648 648 649 649 def doStepIf(self, step): 650 return self.getProperty('patchFailedToBuild') or self.getProperty('patchFailed APITests')650 return self.getProperty('patchFailedToBuild') or self.getProperty('patchFailedTests') 651 651 652 652 def hideStepIf(self, results, step): … … 717 717 def evaluateCommand(self, cmd): 718 718 if cmd.didFail(): 719 self.setProperty('patchFailed JSCTests', True)719 self.setProperty('patchFailedTests', True) 720 720 721 721 return super(RunJavaScriptCoreTests, self).evaluateCommand(cmd) … … 726 726 727 727 def doStepIf(self, step): 728 return self.getProperty('patchFailed JSCTests')728 return self.getProperty('patchFailedTests') 729 729 730 730 def hideStepIf(self, results, step): … … 732 732 733 733 def evaluateCommand(self, cmd): 734 self.setProperty('patchFailed JSCTests', cmd.didFail())734 self.setProperty('patchFailedTests', cmd.didFail()) 735 735 return super(RunJavaScriptCoreTests, self).evaluateCommand(cmd) 736 736 … … 742 742 743 743 def doStepIf(self, step): 744 return self.getProperty('patchFailed JSCTests')744 return self.getProperty('patchFailedTests') 745 745 746 746 def hideStepIf(self, results, step): … … 951 951 self.build.buildFinished([message], SUCCESS) 952 952 else: 953 self.setProperty('patchFailed APITests', True)953 self.setProperty('patchFailedTests', True) 954 954 self.build.addStepsAfterCurrentStep([UnApplyPatchIfRequired(), CompileWebKitToT(), RunAPITestsWithoutPatch(), AnalyzeAPITestsResults()]) 955 955 return rc -
trunk/Tools/BuildSlaveSupport/ews-build/steps_unittest.py
r246793 r246822 533 533 self.setProperty('fullPlatform', 'mac-sierra') 534 534 self.setProperty('configuration', 'debug') 535 self.setProperty('patchFailedT oBuild', True)535 self.setProperty('patchFailedTests', True) 536 536 self.expectRemoteCommands( 537 537 ExpectShell(workdir='wkdir', … … 714 714 self.setProperty('fullPlatform', 'jsc-only') 715 715 self.setProperty('configuration', 'release') 716 self.setProperty('patchFailed JSCTests', 'True')716 self.setProperty('patchFailedTests', 'True') 717 717 self.expectRemoteCommands( 718 718 ExpectShell(workdir='wkdir', … … 729 729 self.setProperty('fullPlatform', 'jsc-only') 730 730 self.setProperty('configuration', 'debug') 731 self.setProperty('patchFailed JSCTests', 'True')731 self.setProperty('patchFailedTests', 'True') 732 732 self.expectRemoteCommands( 733 733 ExpectShell(workdir='wkdir', … … 763 763 self.setProperty('fullPlatform', 'jsc-only') 764 764 self.setProperty('configuration', 'release') 765 self.setProperty('patchFailed JSCTests', 'True')765 self.setProperty('patchFailedTests', 'True') 766 766 self.expectRemoteCommands( 767 767 ExpectShell(workdir='wkdir', … … 778 778 self.setProperty('fullPlatform', 'jsc-only') 779 779 self.setProperty('configuration', 'debug') 780 self.setProperty('patchFailed JSCTests', 'True')780 self.setProperty('patchFailedTests', 'True') 781 781 self.expectRemoteCommands( 782 782 ExpectShell(workdir='wkdir', … … 970 970 def test_failure(self): 971 971 self.setupStep(UnApplyPatchIfRequired()) 972 self.setProperty('patchFailedT oBuild', True)972 self.setProperty('patchFailedTests', True) 973 973 self.expectHidden(False) 974 974 self.expectRemoteCommands( -
trunk/Tools/ChangeLog
r246814 r246822 1 2019-06-25 Aakash Jain <aakash_jain@apple.com> 2 3 [ews-build] Combine various patchFailed*Tests properties 4 https://bugs.webkit.org/show_bug.cgi?id=199193 5 6 Reviewed by Jonathan Bedard. 7 8 * BuildSlaveSupport/ews-build/steps.py: Renamed patchFailedJSCTests and patchFailedAPITests to patchFailedTests. This property 9 can also be used for layout-tests later on. 10 * BuildSlaveSupport/ews-build/steps_unittest.py: Updated unit-tests. 11 1 12 2019-06-25 Ross Kirsling <ross.kirsling@sony.com> 2 13
Note: See TracChangeset
for help on using the changeset viewer.