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

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

Issue 12385018: Use correct pattern in annotated steps browser matching (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 9 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 43
44 dart2js_pattern = re.match(DART2JS_BUILDER, builder_name) 44 dart2js_pattern = re.match(DART2JS_BUILDER, builder_name)
45 web_pattern = re.match(WEB_BUILDER, builder_name) 45 web_pattern = re.match(WEB_BUILDER, builder_name)
46 46
47 if web_pattern: 47 if web_pattern:
48 compiler = 'dart2js' 48 compiler = 'dart2js'
49 runtime = web_pattern.group(1) 49 runtime = web_pattern.group(1)
50 system = web_pattern.group(2) 50 system = web_pattern.group(2)
51 mode = 'release' 51 mode = 'release'
52 test_set = web_pattern.group(4) 52 test_set = web_pattern.group(4)
53 if dart2js_pattern.group(6) == 'csp': 53 if web_pattern.group(6) == 'csp':
54 csp = True 54 csp = True
55 shard_index = web_pattern.group(8) 55 shard_index = web_pattern.group(8)
56 total_shards = web_pattern.group(9) 56 total_shards = web_pattern.group(9)
57 elif dart2js_pattern: 57 elif dart2js_pattern:
58 compiler = 'dart2js' 58 compiler = 'dart2js'
59 system = dart2js_pattern.group(1) 59 system = dart2js_pattern.group(1)
60 runtime = 'd8' 60 runtime = 'd8'
61 if dart2js_pattern.group(3) == 'jsshell': 61 if dart2js_pattern.group(3) == 'jsshell':
62 runtime = 'jsshell' 62 runtime = 'jsshell'
63 mode = dart2js_pattern.group(4) 63 mode = dart2js_pattern.group(4)
(...skipping 257 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