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

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

Issue 679153002: Add builder tag for Safari 6.2 slave. Update status files for Safari 6.2. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix status of string_split test. Created 6 years, 1 month 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
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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 system = dartium_pattern.group(1) 132 system = dartium_pattern.group(1)
133 else : 133 else :
134 return None 134 return None
135 135
136 # We have both win7 and win8 bots, functionality is the same. 136 # We have both win7 and win8 bots, functionality is the same.
137 if system.startswith('win'): 137 if system.startswith('win'):
138 system = 'windows' 138 system = 'windows'
139 139
140 # We have both 10.8 and 10.7 bots, functionality is the same. 140 # We have both 10.8 and 10.7 bots, functionality is the same.
141 if system == 'mac10.8' or system == 'mac10.7': 141 if system == 'mac10.8' or system == 'mac10.7':
142 builder_tag = system.replace('.', '_')
142 system = 'mac' 143 system = 'mac'
143 144
144 if (system == 'windows' and platform.system() != 'Windows') or ( 145 if (system == 'windows' and platform.system() != 'Windows') or (
145 system == 'mac' and platform.system() != 'Darwin') or ( 146 system == 'mac' and platform.system() != 'Darwin') or (
146 system == 'linux' and platform.system() != 'Linux'): 147 system == 'linux' and platform.system() != 'Linux'):
147 print ('Error: You cannot emulate a buildbot with a platform different ' 148 print ('Error: You cannot emulate a buildbot with a platform different '
148 'from your own.') 149 'from your own.')
149 return None 150 return None
150 return bot.BuildInfo(compiler, runtime, mode, system, checked, host_checked, 151 return bot.BuildInfo(compiler, runtime, mode, system, checked, host_checked,
151 minified, shard_index, total_shards, is_buildbot, 152 minified, shard_index, total_shards, is_buildbot,
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 if build_info.mode == 'debug': 398 if build_info.mode == 'debug':
398 target = 'dart2js_bot_debug' 399 target = 'dart2js_bot_debug'
399 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode, 400 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode,
400 '--arch=' + build_info.arch, target] 401 '--arch=' + build_info.arch, target]
401 print 'Build SDK and d8: %s' % (' '.join(args)) 402 print 'Build SDK and d8: %s' % (' '.join(args))
402 bot.RunProcess(args) 403 bot.RunProcess(args)
403 404
404 405
405 if __name__ == '__main__': 406 if __name__ == '__main__':
406 bot.RunBot(GetBuildInfo, RunCompilerTests, build_step=BuildCompiler) 407 bot.RunBot(GetBuildInfo, RunCompilerTests, build_step=BuildCompiler)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698