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

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

Issue 17448018: Pass in clear_safari_flag on the bots (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 6 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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 '--report', 157 '--report',
158 '--write-debug-log']) 158 '--write-debug-log'])
159 159
160 if user_test == 'yes': 160 if user_test == 'yes':
161 cmd.append('--progress=color') 161 cmd.append('--progress=color')
162 else: 162 else:
163 cmd.extend(['--progress=buildbot', '-v']) 163 cmd.extend(['--progress=buildbot', '-v'])
164 164
165 if UseBrowserController(runtime, system): 165 if UseBrowserController(runtime, system):
166 cmd.append('--use_browser_controller') 166 cmd.append('--use_browser_controller')
167 if runtime == 'safari':
168 cmd.append('--clear_safari_cache')
167 169
168 global IsFirstTestStepCall 170 global IsFirstTestStepCall
169 if IsFirstTestStepCall: 171 if IsFirstTestStepCall:
170 IsFirstTestStepCall = False 172 IsFirstTestStepCall = False
171 else: 173 else:
172 cmd.append('--append_logs') 174 cmd.append('--append_logs')
173 175
174 if flags: 176 if flags:
175 cmd.extend(flags) 177 cmd.extend(flags)
176 cmd.extend(targets) 178 cmd.extend(targets)
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 """ 377 """
376 with bot.BuildStep('Build SDK and d8'): 378 with bot.BuildStep('Build SDK and d8'):
377 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode, 379 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode,
378 'dart2js_bot'] 380 'dart2js_bot']
379 print 'Build SDK and d8: %s' % (' '.join(args)) 381 print 'Build SDK and d8: %s' % (' '.join(args))
380 bot.RunProcess(args) 382 bot.RunProcess(args)
381 383
382 384
383 if __name__ == '__main__': 385 if __name__ == '__main__':
384 bot.RunBot(GetBuildInfo, RunCompilerTests, build_step=BuildCompiler) 386 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