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

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

Issue 15133004: Run with -use_browser_controller on the fyi bot (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 months 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 132
133 # TODO(ricow/kustermann): Issue 7339 133 # TODO(ricow/kustermann): Issue 7339
134 if runtime == "safari": 134 if runtime == "safari":
135 cmd.append('--nobatch') 135 cmd.append('--nobatch')
136 136
137 if user_test == 'yes': 137 if user_test == 'yes':
138 cmd.append('--progress=color') 138 cmd.append('--progress=color')
139 else: 139 else:
140 cmd.extend(['--progress=buildbot', '-v']) 140 cmd.extend(['--progress=buildbot', '-v'])
141 141
142 # TODO(ricow): temporary hack to run on fyi with --use_browser_controller
143 if os.environ.get('BUILDBOT_SCHEDULER') == "fyi-main":
kustermann 2013/05/14 13:24:10 Why not using append() as the others?
144 cmd.extend(['--use_browser_controller'])
145
142 global IsFirstTestStepCall 146 global IsFirstTestStepCall
143 if IsFirstTestStepCall: 147 if IsFirstTestStepCall:
144 IsFirstTestStepCall = False 148 IsFirstTestStepCall = False
145 else: 149 else:
146 cmd.append('--append_logs') 150 cmd.append('--append_logs')
147 151
148 if flags: 152 if flags:
149 cmd.extend(flags) 153 cmd.extend(flags)
150 cmd.extend(targets) 154 cmd.extend(targets)
151 155
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 """ 325 """
322 with bot.BuildStep('Build SDK and d8'): 326 with bot.BuildStep('Build SDK and d8'):
323 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode, 327 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode,
324 'dart2js_bot'] 328 'dart2js_bot']
325 print 'Build SDK and d8: %s' % (' '.join(args)) 329 print 'Build SDK and d8: %s' % (' '.join(args))
326 bot.RunProcess(args) 330 bot.RunProcess(args)
327 331
328 332
329 if __name__ == '__main__': 333 if __name__ == '__main__':
330 bot.RunBot(GetBuildInfo, RunCompilerTests, build_step=BuildCompiler) 334 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