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

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

Issue 14244004: Now that we have host-checked runners, and test.dart disallows multiple "--host_checked" flags, rem… (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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 216
217 if system.startswith('win') and runtime.startswith('ie10'): 217 if system.startswith('win') and runtime.startswith('ie10'):
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' and runtime == 'd8': 226 if (system == 'linux'
227 and runtime == 'd8'
228 and not '--host-checked' in extra_flags):
227 # 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.
228 # Other systems have less resources and tend to time out. 230 # Other systems have less resources and tend to time out.
229 extras_flags = extras_flags + ['--host-checked'] 231 extras_flags = extras_flags + ['--host-checked']
230 TestStep("dart2js_extra", mode, system, 'dart2js', runtime, extras, 232 TestStep("dart2js_extra", mode, system, 'dart2js', runtime, extras,
231 extras_flags) 233 extras_flags)
232 234
233 235
234 def _DeleteTempWebdriverProfiles(directory): 236 def _DeleteTempWebdriverProfiles(directory):
235 """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."""
236 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
319 """ 321 """
320 with bot.BuildStep('Build SDK and d8'): 322 with bot.BuildStep('Build SDK and d8'):
321 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode, 323 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode,
322 'dart2js_bot'] 324 'dart2js_bot']
323 print 'Build SDK and d8: %s' % (' '.join(args)) 325 print 'Build SDK and d8: %s' % (' '.join(args))
324 bot.RunProcess(args) 326 bot.RunProcess(args)
325 327
326 328
327 if __name__ == '__main__': 329 if __name__ == '__main__':
328 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