OLD | NEW |
1 #!/usr/bin/python | 1 #!/usr/bin/python |
2 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 2 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
3 # for details. All rights reserved. Use of this source code is governed by a | 3 # for details. All rights reserved. Use of this source code is governed by a |
4 # BSD-style license that can be found in the LICENSE file. | 4 # BSD-style license that can be found in the LICENSE file. |
5 | 5 |
6 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 6 # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
7 # Use of this source code is governed by a BSD-style license that can be | 7 # Use of this source code is governed by a BSD-style license that can be |
8 # found in the LICENSE file. | 8 # found in the LICENSE file. |
9 | 9 |
10 """Dart client buildbot steps | 10 """Dart client buildbot steps |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 name = 'dart-editor' + match.group(1) | 208 name = 'dart-editor' + match.group(1) |
209 # In case we're an FYI builder, run 'tools/bots/editor.py'. | 209 # In case we're an FYI builder, run 'tools/bots/editor.py'. |
210 status = ProcessBot(name, 'editor') | 210 status = ProcessBot(name, 'editor') |
211 else: | 211 else: |
212 # Run the old annotated steps script | 212 # Run the old annotated steps script |
213 status = ProcessTools('release', name, version) | 213 status = ProcessTools('release', name, version) |
214 elif name.startswith('pub-'): | 214 elif name.startswith('pub-'): |
215 status = ProcessBot(name, 'pub') | 215 status = ProcessBot(name, 'pub') |
216 elif name.startswith('vm-android'): | 216 elif name.startswith('vm-android'): |
217 status = ProcessBot(name, 'android') | 217 status = ProcessBot(name, 'android') |
| 218 elif name.startswith('cross') or name.startswith('target'): |
| 219 status = ProcessBot(name, 'cross-vm') |
218 else: | 220 else: |
219 status = ProcessBot(name, 'compiler') | 221 status = ProcessBot(name, 'compiler') |
220 | 222 |
221 if status: | 223 if status: |
222 print '@@@STEP_FAILURE@@@' | 224 print '@@@STEP_FAILURE@@@' |
223 | 225 |
224 return status | 226 return status |
225 | 227 |
226 | 228 |
227 if __name__ == '__main__': | 229 if __name__ == '__main__': |
228 sys.exit(main()) | 230 sys.exit(main()) |
OLD | NEW |