Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(919)

Side by Side Diff: dart/tools/bots/compiler.py

Issue 11345028: Add bot. prefix to unbreak build bots. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
2 2
3 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4 # for details. All rights reserved. Use of this source code is governed by a 4 # for details. All rights reserved. Use of this source code is governed by a
5 # BSD-style license that can be found in the LICENSE file. 5 # BSD-style license that can be found in the LICENSE file.
6 6
7 """ 7 """
8 Dart2js buildbot steps 8 Dart2js buildbot steps
9 9
10 Runs tests for the dart2js compiler. 10 Runs tests for the dart2js compiler.
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 CleanUpTemporaryFiles(build_info.system, build_info.runtime) 294 CleanUpTemporaryFiles(build_info.system, build_info.runtime)
295 295
296 296
297 def BuildCompiler(build_info): 297 def BuildCompiler(build_info):
298 """ 298 """
299 Builds the SDK. 299 Builds the SDK.
300 300
301 - build_info: the buildInfo object, containing information about what sort of 301 - build_info: the buildInfo object, containing information about what sort of
302 build and test to be run. 302 build and test to be run.
303 """ 303 """
304 with BuildStep('Build SDK and d8'): 304 with bot.BuildStep('Build SDK and d8'):
305 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode, 305 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode,
306 'dart2js_bot'] 306 'dart2js_bot']
307 print 'Build SDK and d8: %s' % (' '.join(args)) 307 print 'Build SDK and d8: %s' % (' '.join(args))
308 RunProcess(args) 308 bot.RunProcess(args)
309 309
310 310
311 if __name__ == '__main__': 311 if __name__ == '__main__':
312 bot.RunBot(GetBuildInfo, RunCompilerTests, build_step=BuildCompiler) 312 bot.RunBot(GetBuildInfo, RunCompilerTests, build_step=BuildCompiler)
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698