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

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

Issue 374353002: Fix up the annotated steps for the full dart2js builders (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 5 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 dart2js_full = True 87 dart2js_full = True
88 system = dart2js_full_pattern.group(1) 88 system = dart2js_full_pattern.group(1)
89 # windows-ie10 or windows-ie11 means a windows machine with that respective 89 # windows-ie10 or windows-ie11 means a windows machine with that respective
90 # version of ie installed. There is no difference in how we handle testing. 90 # version of ie installed. There is no difference in how we handle testing.
91 # We use the builder tag to pass along this information. 91 # We use the builder tag to pass along this information.
92 if system.startswith('win'): 92 if system.startswith('win'):
93 ie = dart2js_full_pattern.group(3) 93 ie = dart2js_full_pattern.group(3)
94 assert ie in IE_VERSIONS 94 assert ie in IE_VERSIONS
95 builder_tag = 'windows-%s' % ie 95 builder_tag = 'windows-%s' % ie
96 system = 'windows' 96 system = 'windows'
97 if dart2js_full_pattern.group(2): 97 if dart2js_full_pattern.group(4):
98 checked = True 98 checked = True
99 if dart2js_full_pattern.group(3): 99 if dart2js_full_pattern.group(5):
100 minified = True 100 minified = True
101 shard_index = dart2js_full_pattern.group(4) 101 shard_index = dart2js_full_pattern.group(6)
102 total_shards = dart2js_full_pattern.group(5) 102 total_shards = dart2js_full_pattern.group(7)
103 elif dart2js_pattern: 103 elif dart2js_pattern:
104 compiler = 'dart2js' 104 compiler = 'dart2js'
105 system = dart2js_pattern.group(1) 105 system = dart2js_pattern.group(1)
106 runtime = 'd8' 106 runtime = 'd8'
107 arch = 'ia32' 107 arch = 'ia32'
108 if dart2js_pattern.group(3) == 'jsshell': 108 if dart2js_pattern.group(3) == 'jsshell':
109 runtime = 'jsshell' 109 runtime = 'jsshell'
110 mode = dart2js_pattern.group(4) 110 mode = dart2js_pattern.group(4)
111 # The valid naming parts for checked and host-checked are: 111 # The valid naming parts for checked and host-checked are:
112 # Empty: checked=False, host_checked=False 112 # Empty: checked=False, host_checked=False
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 if build_info.mode == 'debug': 399 if build_info.mode == 'debug':
400 target = 'dart2js_bot_debug' 400 target = 'dart2js_bot_debug'
401 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode, 401 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode,
402 '--arch=' + build_info.arch, target] 402 '--arch=' + build_info.arch, target]
403 print 'Build SDK and d8: %s' % (' '.join(args)) 403 print 'Build SDK and d8: %s' % (' '.join(args))
404 bot.RunProcess(args) 404 bot.RunProcess(args)
405 405
406 406
407 if __name__ == '__main__': 407 if __name__ == '__main__':
408 bot.RunBot(GetBuildInfo, RunCompilerTests, build_step=BuildCompiler) 408 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