Changeset 245365 in webkit
- Timestamp:
- May 15, 2019 3:41:59 PM (5 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/BuildSlaveSupport/ews-build/steps.py
r245141 r245365 40 40 41 41 class ConfigureBuild(buildstep.BuildStep): 42 name = "configure-build"43 description = [ "configuring build"]44 descriptionDone = [ "Configured build"]42 name = 'configure-build' 43 description = ['configuring build'] 44 descriptionDone = ['Configured build'] 45 45 46 46 def __init__(self, platform, configuration, architectures, buildOnly, triggers, additionalArguments): … … 51 51 self.fullPlatform = platform 52 52 self.configuration = configuration 53 self.architecture = " ".join(architectures) if architectures else None53 self.architecture = ' '.join(architectures) if architectures else None 54 54 self.buildOnly = buildOnly 55 55 self.triggers = triggers … … 66 66 self.setProperty('architecture', self.architecture, 'config.json') 67 67 if self.buildOnly: 68 self.setProperty( "buildOnly", self.buildOnly, 'config.json')68 self.setProperty('buildOnly', self.buildOnly, 'config.json') 69 69 if self.triggers: 70 70 self.setProperty('triggers', self.triggers, 'config.json') 71 71 if self.additionalArguments: 72 self.setProperty( "additionalArguments", self.additionalArguments, 'config.json')72 self.setProperty('additionalArguments', self.additionalArguments, 'config.json') 73 73 74 74 self.add_patch_id_url() … … 154 154 155 155 bindings_paths = [ 156 "Source/WebCore",157 "Tools",156 'Source/WebCore', 157 'Tools', 158 158 ] 159 159 160 160 jsc_paths = [ 161 "JSTests/",162 "Source/JavaScriptCore/",163 "Source/WTF/",164 "Source/bmalloc/",165 "Makefile",166 "Makefile.shared",167 "Source/Makefile",168 "Source/Makefile.shared",169 "Tools/Scripts/build-webkit",170 "Tools/Scripts/build-jsc",171 "Tools/Scripts/jsc-stress-test-helpers/",172 "Tools/Scripts/run-jsc",173 "Tools/Scripts/run-jsc-benchmarks",174 "Tools/Scripts/run-jsc-stress-tests",175 "Tools/Scripts/run-javascriptcore-tests",176 "Tools/Scripts/run-layout-jsc",177 "Tools/Scripts/update-javascriptcore-test-results",178 "Tools/Scripts/webkitdirs.pm",161 'JSTests/', 162 'Source/JavaScriptCore/', 163 'Source/WTF/', 164 'Source/bmalloc/', 165 'Makefile', 166 'Makefile.shared', 167 'Source/Makefile', 168 'Source/Makefile.shared', 169 'Tools/Scripts/build-webkit', 170 'Tools/Scripts/build-jsc', 171 'Tools/Scripts/jsc-stress-test-helpers/', 172 'Tools/Scripts/run-jsc', 173 'Tools/Scripts/run-jsc-benchmarks', 174 'Tools/Scripts/run-jsc-stress-tests', 175 'Tools/Scripts/run-javascriptcore-tests', 176 'Tools/Scripts/run-layout-jsc', 177 'Tools/Scripts/update-javascriptcore-test-results', 178 'Tools/Scripts/webkitdirs.pm', 179 179 ] 180 180 181 181 webkitpy_paths = [ 182 "Tools/Scripts/webkitpy/",183 "Tools/QueueStatusServer/",182 'Tools/Scripts/webkitpy/', 183 'Tools/QueueStatusServer/', 184 184 ] 185 185 … … 243 243 flunkOnFailure = True 244 244 haltOnFailure = True 245 bug_open_statuses = [ "UNCONFIRMED", "NEW", "ASSIGNED", "REOPENED"]246 bug_closed_statuses = [ "RESOLVED", "VERIFIED", "CLOSED"]245 bug_open_statuses = ['UNCONFIRMED', 'NEW', 'ASSIGNED', 'REOPENED'] 246 bug_closed_statuses = ['RESOLVED', 'VERIFIED', 'CLOSED'] 247 247 248 248 @defer.inlineCallbacks … … 405 405 406 406 class TestWithFailureCount(shell.Test): 407 failedTestsFormatString = "%d test%s failed"407 failedTestsFormatString = '%d test%s failed' 408 408 failedTestCount = 0 409 409 … … 419 419 shell.Test.commandComplete(self, cmd) 420 420 self.failedTestCount = self.countFailures(cmd) 421 self.failedTestPluralSuffix = "" if self.failedTestCount == 1 else "s"421 self.failedTestPluralSuffix = '' if self.failedTestCount == 1 else 's' 422 422 423 423 def evaluateCommand(self, cmd): … … 580 580 581 581 class CompileWebKit(shell.Compile): 582 name = "compile-webkit"583 description = [ "compiling"]584 descriptionDone = [ "Compiled WebKit"]582 name = 'compile-webkit' 583 description = ['compiling'] 584 descriptionDone = ['Compiled WebKit'] 585 585 env = {'MFLAGS': ''} 586 warningPattern = ".*arning: .*"586 warningPattern = '.*arning: .*' 587 587 haltOnFailure = False 588 command = [ "perl", "Tools/Scripts/build-webkit", WithProperties("--%(configuration)s")]588 command = ['perl', 'Tools/Scripts/build-webkit', WithProperties('--%(configuration)s')] 589 589 590 590 def start(self): … … 636 636 637 637 class CompileJSCOnly(CompileWebKit): 638 name = "build-jsc"639 descriptionDone = [ "Compiled JSC"]640 command = [ "perl", "Tools/Scripts/build-jsc", WithProperties("--%(configuration)s")]638 name = 'build-jsc' 639 descriptionDone = ['Compiled JSC'] 640 command = ['perl', 'Tools/Scripts/build-jsc', WithProperties('--%(configuration)s')] 641 641 642 642 … … 657 657 flunkOnFailure = True 658 658 jsonFileName = 'jsc_results.json' 659 logfiles = { "json": jsonFileName}659 logfiles = {'json': jsonFileName} 660 660 command = ['perl', 'Tools/Scripts/run-javascriptcore-tests', '--no-build', '--no-fail-fast', '--json-output={0}'.format(jsonFileName), WithProperties('--%(configuration)s')] 661 661 … … 698 698 699 699 class CleanBuild(shell.Compile): 700 name = "delete-WebKitBuild-directory"701 description = [ "deleting WebKitBuild directory"]702 descriptionDone = [ "Deleted WebKitBuild directory"]703 command = [ "python", "Tools/BuildSlaveSupport/clean-build", WithProperties("--platform=%(fullPlatform)s"), WithProperties("--%(configuration)s")]700 name = 'delete-WebKitBuild-directory' 701 description = ['deleting WebKitBuild directory'] 702 descriptionDone = ['Deleted WebKitBuild directory'] 703 command = ['python', 'Tools/BuildSlaveSupport/clean-build', WithProperties('--platform=%(fullPlatform)s'), WithProperties('--%(configuration)s')] 704 704 705 705 706 706 class KillOldProcesses(shell.Compile): 707 name = "kill-old-processes"708 description = [ "killing old processes"]709 descriptionDone = [ "Killed old processes"]710 command = [ "python", "Tools/BuildSlaveSupport/kill-old-processes", "buildbot"]707 name = 'kill-old-processes' 708 description = ['killing old processes'] 709 descriptionDone = ['Killed old processes'] 710 command = ['python', 'Tools/BuildSlaveSupport/kill-old-processes', 'buildbot'] 711 711 712 712 def __init__(self, **kwargs): -
trunk/Tools/ChangeLog
r245364 r245365 1 2019-05-15 Aakash Jain <aakash_jain@apple.com> 2 3 Replace double-quotes with single quotes in steps.py 4 https://bugs.webkit.org/show_bug.cgi?id=197921 5 6 Reviewed by Jonathan Bedard. 7 8 * BuildSlaveSupport/ews-build/steps.py: 9 1 10 2019-05-15 Keith Rollin <krollin@apple.com> 2 11
Note: See TracChangeset
for help on using the changeset viewer.