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

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

Issue 14881005: Fix annotated steps for dart2js (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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 with bot.BuildStep(step_name, swallow_error=True): 113 with bot.BuildStep(step_name, swallow_error=True):
114 sys.stdout.flush() 114 sys.stdout.flush()
115 if NeedsXterm(compiler, runtime) and system == 'linux': 115 if NeedsXterm(compiler, runtime) and system == 'linux':
116 cmd = ['xvfb-run', '-a'] 116 cmd = ['xvfb-run', '-a']
117 else: 117 else:
118 cmd = [] 118 cmd = []
119 119
120 user_test = os.environ.get('USER_TEST', 'no') 120 user_test = os.environ.get('USER_TEST', 'no')
121 121
122 # TODO(ricow): temporary hack to run on fyi with --use_browser_controller 122 # TODO(ricow): temporary hack to run on fyi with --use_browser_controller
123 if os.environ.get('BUILDBOT_SCHEDULER') == "fyi-main" and runtime='drt': 123 if os.environ.get('BUILDBOT_SCHEDULER') == "fyi-main" and runtime == 'drt':
124 runtime = 'chrome' 124 runtime = 'chrome'
125 125
126 cmd.extend([sys.executable, 126 cmd.extend([sys.executable,
127 os.path.join(os.curdir, 'tools', 'test.py'), 127 os.path.join(os.curdir, 'tools', 'test.py'),
128 '--step_name=' + step_name, 128 '--step_name=' + step_name,
129 '--mode=' + mode, 129 '--mode=' + mode,
130 '--compiler=' + compiler, 130 '--compiler=' + compiler,
131 '--runtime=' + runtime, 131 '--runtime=' + runtime,
132 '--time', 132 '--time',
133 '--use-sdk', 133 '--use-sdk',
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 """ 329 """
330 with bot.BuildStep('Build SDK and d8'): 330 with bot.BuildStep('Build SDK and d8'):
331 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode, 331 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode,
332 'dart2js_bot'] 332 'dart2js_bot']
333 print 'Build SDK and d8: %s' % (' '.join(args)) 333 print 'Build SDK and d8: %s' % (' '.join(args))
334 bot.RunProcess(args) 334 bot.RunProcess(args)
335 335
336 336
337 if __name__ == '__main__': 337 if __name__ == '__main__':
338 bot.RunBot(GetBuildInfo, RunCompilerTests, build_step=BuildCompiler) 338 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