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

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

Issue 13975007: Dial back on host-checked testing. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 ['--checked']) 215 ['--checked'])
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
226 if system == 'linux' and runtime == 'd8':
227 # Run the extra tests in checked mode, but only on linux/d8.
228 # Other systems have less resources and tend to time out.
229 extras_flags = extras_flags + ['--host-checked']
225 TestStep("dart2js_extra", mode, system, 'dart2js', runtime, extras, 230 TestStep("dart2js_extra", mode, system, 'dart2js', runtime, extras,
226 # Run this small test subset in checked mode. 231 extras_flags)
227 flags + ['--host-checked'])
228 232
229 233
230 def _DeleteTempWebdriverProfiles(directory): 234 def _DeleteTempWebdriverProfiles(directory):
231 """Find all the firefox profiles in a particular directory and delete them.""" 235 """Find all the firefox profiles in a particular directory and delete them."""
232 for f in os.listdir(directory): 236 for f in os.listdir(directory):
233 item = os.path.join(directory, f) 237 item = os.path.join(directory, f)
234 if os.path.isdir(item) and (f.startswith('tmp') or f.startswith('opera')): 238 if os.path.isdir(item) and (f.startswith('tmp') or f.startswith('opera')):
235 subprocess.Popen('rm -rf %s' % item, shell=True) 239 subprocess.Popen('rm -rf %s' % item, shell=True)
236 240
237 241
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 """ 319 """
316 with bot.BuildStep('Build SDK and d8'): 320 with bot.BuildStep('Build SDK and d8'):
317 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode, 321 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode,
318 'dart2js_bot'] 322 'dart2js_bot']
319 print 'Build SDK and d8: %s' % (' '.join(args)) 323 print 'Build SDK and d8: %s' % (' '.join(args))
320 bot.RunProcess(args) 324 bot.RunProcess(args)
321 325
322 326
323 if __name__ == '__main__': 327 if __name__ == '__main__':
324 bot.RunBot(GetBuildInfo, RunCompilerTests, build_step=BuildCompiler) 328 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