Changeset 259809 in webkit
- Timestamp:
- Apr 9, 2020, 11:17:56 AM (6 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
-
BuildSlaveSupport/ews-build/steps.py (modified) (5 diffs)
-
BuildSlaveSupport/ews-build/steps_unittest.py (modified) (4 diffs)
-
ChangeLog (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/BuildSlaveSupport/ews-build/steps.py
r259787 r259809 1309 1309 steps_to_add.append(InstallGtkDependencies()) 1310 1310 if self.getProperty('group') == 'jsc': 1311 steps_to_add.append(CompileJSC ToT())1311 steps_to_add.append(CompileJSCWithoutPatch()) 1312 1312 else: 1313 1313 steps_to_add.append(CompileWebKitWithoutPatch()) … … 1329 1329 1330 1330 class CompileWebKitWithoutPatch(CompileWebKit): 1331 name = 'compile-webkit- tot'1331 name = 'compile-webkit-without-patch' 1332 1332 haltOnFailure = False 1333 1333 … … 1348 1348 1349 1349 def start(self): 1350 compile_ tot_step = CompileWebKitWithoutPatch.name1350 compile_without_patch_step = CompileWebKitWithoutPatch.name 1351 1351 if self.getProperty('group') == 'jsc': 1352 compile_ tot_step = CompileJSCToT.name1353 compile_w ebkit_tot_result = self.getStepResult(compile_tot_step)1354 1355 if compile_w ebkit_tot_result == FAILURE:1352 compile_without_patch_step = CompileJSCWithoutPatch.name 1353 compile_without_patch_result = self.getStepResult(compile_without_patch_step) 1354 1355 if compile_without_patch_result == FAILURE: 1356 1356 self.finished(FAILURE) 1357 1357 message = 'Unable to build WebKit without patch, retrying build' … … 1395 1395 1396 1396 1397 class CompileJSC ToT(CompileJSC):1398 name = 'compile-jsc- tot'1397 class CompileJSCWithoutPatch(CompileJSC): 1398 name = 'compile-jsc-without-patch' 1399 1399 1400 1400 def evaluateCommand(self, cmd): … … 1515 1515 self.build.addStepsAfterCurrentStep([UnApplyPatchIfRequired(), 1516 1516 ValidatePatch(verifyBugClosed=False, addURLs=False), 1517 CompileJSC ToT(),1517 CompileJSCWithoutPatch(), 1518 1518 ValidatePatch(verifyBugClosed=False, addURLs=False), 1519 1519 KillOldProcesses(), -
trunk/Tools/BuildSlaveSupport/ews-build/steps_unittest.py
r259787 r259809 38 38 AnalyzeLayoutTestsResults, ApplyPatch, ApplyWatchList, ArchiveBuiltProduct, ArchiveTestResults, 39 39 CheckOutSource, CheckOutSpecificRevision, CheckPatchRelevance, CheckPatchStatusOnEWSQueues, CheckStyle, 40 CleanBuild, CleanUpGitIndexLock, CleanWorkingDirectory, CompileJSC, CompileJSC ToT, CompileWebKit,40 CleanBuild, CleanUpGitIndexLock, CleanWorkingDirectory, CompileJSC, CompileJSCWithoutPatch, CompileWebKit, 41 41 CompileWebKitWithoutPatch, ConfigureBuild, CreateLocalGITCommit, 42 42 DownloadBuiltProduct, DownloadBuiltProductFromMaster, ExtractBuiltProduct, ExtractTestResults, … … 1083 1083 return rc 1084 1084 1085 def test_patch_with_ ToT_failure(self):1085 def test_patch_with_trunk_failure(self): 1086 1086 previous_steps = [ 1087 1087 mock_step(CompileWebKit(), results=FAILURE), … … 1131 1131 1132 1132 1133 class TestCompileJSC ToT(BuildStepMixinAdditions, unittest.TestCase):1134 def setUp(self): 1135 self.longMessage = True 1136 return self.setUpBuildStep() 1137 1138 def tearDown(self): 1139 return self.tearDownBuildStep() 1140 1141 def test_success(self): 1142 self.setupStep(CompileJSC ToT())1133 class TestCompileJSCWithoutPatch(BuildStepMixinAdditions, unittest.TestCase): 1134 def setUp(self): 1135 self.longMessage = True 1136 return self.setUpBuildStep() 1137 1138 def tearDown(self): 1139 return self.tearDownBuildStep() 1140 1141 def test_success(self): 1142 self.setupStep(CompileJSCWithoutPatch()) 1143 1143 self.setProperty('fullPlatform', 'jsc-only') 1144 1144 self.setProperty('configuration', 'release') … … 1155 1155 1156 1156 def test_failure(self): 1157 self.setupStep(CompileJSC ToT())1157 self.setupStep(CompileJSCWithoutPatch()) 1158 1158 self.setProperty('fullPlatform', 'jsc-only') 1159 1159 self.setProperty('configuration', 'debug') -
trunk/Tools/ChangeLog
r259799 r259809 1 2020-04-09 Aakash Jain <aakash_jain@apple.com> 2 3 [ews] rename CompileJSCToT to CompileJSCWithoutPatch 4 https://bugs.webkit.org/show_bug.cgi?id=210265 5 6 Reviewed by Jonathan Bedard. 7 8 * BuildSlaveSupport/ews-build/steps.py: 9 (CompileWebKitWithoutPatch): Drive-by fix to rename similar name. 10 (AnalyzeCompileWebKitResults.start): Ditto. 11 (CompileWebKit.evaluateCommand): Renamed CompileJSCToT to CompileJSCWithoutPatch. 12 (CompileJSCWithoutPatch): Ditto. 13 (ReRunJavaScriptCoreTests.evaluateCommand): Ditto. 14 * BuildSlaveSupport/ews-build/steps_unittest.py: Updated unit-tests. 15 1 16 2020-04-09 Claudio Saavedra <csaavedra@igalia.com> 2 17
Note:
See TracChangeset
for help on using the changeset viewer.