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

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

Issue 14113009: Fix typo. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 8 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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 TestStep("dart2js", mode, system, 'dart2js', runtime, ['html'], flags) 218 TestStep("dart2js", mode, system, 'dart2js', runtime, ['html'], flags)
219 else: 219 else:
220 # Run the default set of test suites. 220 # Run the default set of test suites.
221 TestStep("dart2js", mode, system, 'dart2js', runtime, [], flags) 221 TestStep("dart2js", mode, system, 'dart2js', runtime, [], flags)
222 222
223 # TODO(kasperl): Consider running peg and css tests too. 223 # TODO(kasperl): Consider running peg and css tests too.
224 extras = ['dart2js_extra', 'dart2js_native', 'dart2js_foreign'] 224 extras = ['dart2js_extra', 'dart2js_native', 'dart2js_foreign']
225 extras_flags = flags 225 extras_flags = flags
226 if (system == 'linux' 226 if (system == 'linux'
227 and runtime == 'd8' 227 and runtime == 'd8'
228 and not '--host-checked' in extra_flags): 228 and not '--host-checked' in extras_flags):
229 # Run the extra tests in checked mode, but only on linux/d8. 229 # Run the extra tests in checked mode, but only on linux/d8.
230 # Other systems have less resources and tend to time out. 230 # Other systems have less resources and tend to time out.
231 extras_flags = extras_flags + ['--host-checked'] 231 extras_flags = extras_flags + ['--host-checked']
232 TestStep("dart2js_extra", mode, system, 'dart2js', runtime, extras, 232 TestStep("dart2js_extra", mode, system, 'dart2js', runtime, extras,
233 extras_flags) 233 extras_flags)
234 234
235 235
236 def _DeleteTempWebdriverProfiles(directory): 236 def _DeleteTempWebdriverProfiles(directory):
237 """Find all the firefox profiles in a particular directory and delete them.""" 237 """Find all the firefox profiles in a particular directory and delete them."""
238 for f in os.listdir(directory): 238 for f in os.listdir(directory):
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 """ 321 """
322 with bot.BuildStep('Build SDK and d8'): 322 with bot.BuildStep('Build SDK and d8'):
323 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode, 323 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode,
324 'dart2js_bot'] 324 'dart2js_bot']
325 print 'Build SDK and d8: %s' % (' '.join(args)) 325 print 'Build SDK and d8: %s' % (' '.join(args))
326 bot.RunProcess(args) 326 bot.RunProcess(args)
327 327
328 328
329 if __name__ == '__main__': 329 if __name__ == '__main__':
330 bot.RunBot(GetBuildInfo, RunCompilerTests, build_step=BuildCompiler) 330 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