Changeset 272785 in webkit


Ignore:
Timestamp:
Feb 12, 2021, 10:06:05 AM (4 years ago)
Author:
aakash_jain@apple.com
Message:

[build.webkit.org] commit identifier should show main instead of trunk
https://bugs.webkit.org/show_bug.cgi?id=221798

Reviewed by Jonathan Bedard.

  • CISupport/build-webkit-org/steps.py:

(ShowIdentifier.init): Increased timeout to 10 minutes (since first run might take a while).
(ShowIdentifier.evaluateCommand):

  • CISupport/build-webkit-org/steps_unittest.py: Updated unit-tests.
Location:
trunk/Tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/CISupport/build-webkit-org/steps.py

    r272743 r272785  
    11351135
    11361136    def __init__(self, **kwargs):
    1137         shell.ShellCommand.__init__(self, timeout=2 * 60, logEnviron=False, **kwargs)
     1137        shell.ShellCommand.__init__(self, timeout=10 * 60, logEnviron=False, **kwargs)
    11381138
    11391139    def start(self):
     
    11531153        if match:
    11541154            identifier = match.group(1)
     1155            if identifier:
     1156                identifier = identifier.replace('trunk', 'main')
    11551157            self.setProperty('identifier', identifier)
    11561158            step = self.getLastBuildStepByName(CheckOutSource.name)
  • trunk/Tools/CISupport/build-webkit-org/steps_unittest.py

    r272743 r272785  
    512512        self.expectRemoteCommands(
    513513            ExpectShell(workdir='wkdir',
    514                         timeout=120,
     514                        timeout=600,
    515515                        logEnviron=False,
    516516                        command=['python', 'Tools/Scripts/git-webkit', 'find', 'r272692']) +
    517             ExpectShell.log('stdio', stdout='Identifier: 233939@trunk') +
     517            ExpectShell.log('stdio', stdout='Identifier: 233939@main') +
    518518            0,
    519519        )
    520         self.expectOutcome(result=SUCCESS, state_string='Identifier: 233939@trunk')
     520        self.expectOutcome(result=SUCCESS, state_string='Identifier: 233939@main')
    521521        rc = self.runStep()
    522         self.assertEqual(self.getProperty('identifier'), '233939@trunk')
     522        self.assertEqual(self.getProperty('identifier'), '233939@main')
    523523        return rc
    524524
     
    528528        self.expectRemoteCommands(
    529529            ExpectShell(workdir='wkdir',
    530                         timeout=120,
     530                        timeout=600,
    531531                        logEnviron=False,
    532532                        command=['python', 'Tools/Scripts/git-webkit', 'find', 'r272692']) +
  • trunk/Tools/ChangeLog

    r272782 r272785  
     12021-02-12  Aakash Jain  <aakash_jain@apple.com>
     2
     3        [build.webkit.org] commit identifier should show main instead of trunk
     4        https://bugs.webkit.org/show_bug.cgi?id=221798
     5
     6        Reviewed by Jonathan Bedard.
     7
     8        * CISupport/build-webkit-org/steps.py:
     9        (ShowIdentifier.__init__): Increased timeout to 10 minutes (since first run might take a while).
     10        (ShowIdentifier.evaluateCommand):
     11        * CISupport/build-webkit-org/steps_unittest.py: Updated unit-tests.
     12
    1132021-02-12  Jonathan Bedard  <jbedard@apple.com>
    214
Note: See TracChangeset for help on using the changeset viewer.