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

Side by Side Diff: client/tools/buildbot_annotated_steps.py

Issue 12434016: Small fix in buildbot_annotated_steps.py (Closed) Base URL: https://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 # 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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 FixJavaHome() 200 FixJavaHome()
201 if name.startswith('dart-editor'): 201 if name.startswith('dart-editor'):
202 # TODO(kustermann,ricow): This is a temporary hack until we can safely 202 # TODO(kustermann,ricow): This is a temporary hack until we can safely
203 # enable it on main waterfall. We need to remove this eventually 203 # enable it on main waterfall. We need to remove this eventually
204 is_fyi = False 204 is_fyi = False
205 if name.startswith('dart-editor-fyi'): 205 if name.startswith('dart-editor-fyi'):
206 match = re.search('dart-editor-fyi(.*)', name) 206 match = re.search('dart-editor-fyi(.*)', name)
207 name = 'dart-editor' + match.group(1) 207 name = 'dart-editor' + match.group(1)
208 is_fyi = True 208 is_fyi = True
209 # Run the old annotated steps script first. 209 # Run the old annotated steps script first.
210 status = ProcessTools('release', name, version) or status 210 status = ProcessTools('release', name, version)
211 # In case we're an FYI builder, run 'tools/bots/editor.py' as well 211 # In case we're an FYI builder, run 'tools/bots/editor.py' as well
212 if is_fyi: 212 if is_fyi:
213 status = ProcessBot(name, 'editor') 213 status = ProcessBot(name, 'editor') or status
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 else: 218 else:
219 status = ProcessBot(name, 'compiler') 219 status = ProcessBot(name, 'compiler')
220 220
221 if status: 221 if status:
222 print '@@@STEP_FAILURE@@@' 222 print '@@@STEP_FAILURE@@@'
223 223
224 return status 224 return status
225 225
226 226
227 if __name__ == '__main__': 227 if __name__ == '__main__':
228 sys.exit(main()) 228 sys.exit(main())
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