⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 259809 in webkit


Ignore:
Timestamp:
Apr 9, 2020, 11:17:56 AM (6 years ago)
Author:
aakash_jain@apple.com
Message:

[ews] rename CompileJSCToT to CompileJSCWithoutPatch
https://bugs.webkit.org/show_bug.cgi?id=210265

Reviewed by Jonathan Bedard.

  • BuildSlaveSupport/ews-build/steps.py:

(CompileWebKitWithoutPatch): Drive-by fix to rename similar name.
(AnalyzeCompileWebKitResults.start): Ditto.
(CompileWebKit.evaluateCommand): Renamed CompileJSCToT to CompileJSCWithoutPatch.
(CompileJSCWithoutPatch): Ditto.
(ReRunJavaScriptCoreTests.evaluateCommand): Ditto.

  • BuildSlaveSupport/ews-build/steps_unittest.py: Updated unit-tests.
Location:
trunk/Tools
Files:
3 edited

Legend:

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

    r259787 r259809  
    13091309                steps_to_add.append(InstallGtkDependencies())
    13101310            if self.getProperty('group') == 'jsc':
    1311                 steps_to_add.append(CompileJSCToT())
     1311                steps_to_add.append(CompileJSCWithoutPatch())
    13121312            else:
    13131313                steps_to_add.append(CompileWebKitWithoutPatch())
     
    13291329
    13301330class CompileWebKitWithoutPatch(CompileWebKit):
    1331     name = 'compile-webkit-tot'
     1331    name = 'compile-webkit-without-patch'
    13321332    haltOnFailure = False
    13331333
     
    13481348
    13491349    def start(self):
    1350         compile_tot_step = CompileWebKitWithoutPatch.name
     1350        compile_without_patch_step = CompileWebKitWithoutPatch.name
    13511351        if self.getProperty('group') == 'jsc':
    1352             compile_tot_step = CompileJSCToT.name
    1353         compile_webkit_tot_result = self.getStepResult(compile_tot_step)
    1354 
    1355         if compile_webkit_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:
    13561356            self.finished(FAILURE)
    13571357            message = 'Unable to build WebKit without patch, retrying build'
     
    13951395
    13961396
    1397 class CompileJSCToT(CompileJSC):
    1398     name = 'compile-jsc-tot'
     1397class CompileJSCWithoutPatch(CompileJSC):
     1398    name = 'compile-jsc-without-patch'
    13991399
    14001400    def evaluateCommand(self, cmd):
     
    15151515            self.build.addStepsAfterCurrentStep([UnApplyPatchIfRequired(),
    15161516                                                ValidatePatch(verifyBugClosed=False, addURLs=False),
    1517                                                 CompileJSCToT(),
     1517                                                CompileJSCWithoutPatch(),
    15181518                                                ValidatePatch(verifyBugClosed=False, addURLs=False),
    15191519                                                KillOldProcesses(),
  • trunk/Tools/BuildSlaveSupport/ews-build/steps_unittest.py

    r259787 r259809  
    3838                   AnalyzeLayoutTestsResults, ApplyPatch, ApplyWatchList, ArchiveBuiltProduct, ArchiveTestResults,
    3939                   CheckOutSource, CheckOutSpecificRevision, CheckPatchRelevance, CheckPatchStatusOnEWSQueues, CheckStyle,
    40                    CleanBuild, CleanUpGitIndexLock, CleanWorkingDirectory, CompileJSC, CompileJSCToT, CompileWebKit,
     40                   CleanBuild, CleanUpGitIndexLock, CleanWorkingDirectory, CompileJSC, CompileJSCWithoutPatch, CompileWebKit,
    4141                   CompileWebKitWithoutPatch, ConfigureBuild, CreateLocalGITCommit,
    4242                   DownloadBuiltProduct, DownloadBuiltProductFromMaster, ExtractBuiltProduct, ExtractTestResults,
     
    10831083        return rc
    10841084
    1085     def test_patch_with_ToT_failure(self):
     1085    def test_patch_with_trunk_failure(self):
    10861086        previous_steps = [
    10871087            mock_step(CompileWebKit(), results=FAILURE),
     
    11311131
    11321132
    1133 class TestCompileJSCToT(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(CompileJSCToT())
     1133class 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())
    11431143        self.setProperty('fullPlatform', 'jsc-only')
    11441144        self.setProperty('configuration', 'release')
     
    11551155
    11561156    def test_failure(self):
    1157         self.setupStep(CompileJSCToT())
     1157        self.setupStep(CompileJSCWithoutPatch())
    11581158        self.setProperty('fullPlatform', 'jsc-only')
    11591159        self.setProperty('configuration', 'debug')
  • trunk/Tools/ChangeLog

    r259799 r259809  
     12020-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
    1162020-04-09  Claudio Saavedra  <csaavedra@igalia.com>
    217
Note: See TracChangeset for help on using the changeset viewer.