| OLD | NEW |
| 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 if dart2js_pattern.group(6) == 'host-checked': | 118 if dart2js_pattern.group(6) == 'host-checked': |
| 119 host_checked = True | 119 host_checked = True |
| 120 if dart2js_pattern.group(8) == 'host-checked': | 120 if dart2js_pattern.group(8) == 'host-checked': |
| 121 host_checked = True | 121 host_checked = True |
| 122 if dart2js_pattern.group(10) == 'minified': | 122 if dart2js_pattern.group(10) == 'minified': |
| 123 minified = True | 123 minified = True |
| 124 if dart2js_pattern.group(12) == 'x64': | 124 if dart2js_pattern.group(12) == 'x64': |
| 125 arch = 'x64' | 125 arch = 'x64' |
| 126 if dart2js_pattern.group(14) == 'batch': | 126 if dart2js_pattern.group(14) == 'batch': |
| 127 batch = True | 127 batch = True |
| 128 # This is temporary, slowly enabling this. |
| 129 if system == 'linux': |
| 130 batch = True |
| 128 shard_index = dart2js_pattern.group(15) | 131 shard_index = dart2js_pattern.group(15) |
| 129 total_shards = dart2js_pattern.group(16) | 132 total_shards = dart2js_pattern.group(16) |
| 130 elif dartium_pattern: | 133 elif dartium_pattern: |
| 131 compiler = 'none' | 134 compiler = 'none' |
| 132 runtime = 'dartium' | 135 runtime = 'dartium' |
| 133 mode = 'release' | 136 mode = 'release' |
| 134 system = dartium_pattern.group(1) | 137 system = dartium_pattern.group(1) |
| 135 else : | 138 else : |
| 136 return None | 139 return None |
| 137 | 140 |
| (...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 399 if build_info.mode == 'debug': | 402 if build_info.mode == 'debug': |
| 400 target = 'dart2js_bot_debug' | 403 target = 'dart2js_bot_debug' |
| 401 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode, | 404 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode, |
| 402 '--arch=' + build_info.arch, target] | 405 '--arch=' + build_info.arch, target] |
| 403 print 'Build SDK and d8: %s' % (' '.join(args)) | 406 print 'Build SDK and d8: %s' % (' '.join(args)) |
| 404 bot.RunProcess(args) | 407 bot.RunProcess(args) |
| 405 | 408 |
| 406 | 409 |
| 407 if __name__ == '__main__': | 410 if __name__ == '__main__': |
| 408 bot.RunBot(GetBuildInfo, RunCompilerTests, build_step=BuildCompiler) | 411 bot.RunBot(GetBuildInfo, RunCompilerTests, build_step=BuildCompiler) |
| OLD | NEW |