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

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

Issue 207953003: Fix startswith syntax error (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 status = ProcessTools('release', name, version) 199 status = ProcessTools('release', name, version)
200 elif name.startswith('pub-'): 200 elif name.startswith('pub-'):
201 status = ProcessBot(name, 'pub') 201 status = ProcessBot(name, 'pub')
202 elif name.startswith('vm-android'): 202 elif name.startswith('vm-android'):
203 status = ProcessBot(name, 'android') 203 status = ProcessBot(name, 'android')
204 elif name.startswith('cross') or name.startswith('target'): 204 elif name.startswith('cross') or name.startswith('target'):
205 status = ProcessBot(name, 'cross-vm', 205 status = ProcessBot(name, 'cross-vm',
206 custom_env=EnvironmentWithoutBotoConfig()) 206 custom_env=EnvironmentWithoutBotoConfig())
207 elif name.startswith('linux-distribution-support'): 207 elif name.startswith('linux-distribution-support'):
208 status = ProcessBot(name, 'linux_distribution_support') 208 status = ProcessBot(name, 'linux_distribution_support')
209 elif name.statswith('ft'): 209 elif name.startswith('ft'):
210 status = ProcessBot(name, 'functional_testing') 210 status = ProcessBot(name, 'functional_testing')
211 else: 211 else:
212 status = ProcessBot(name, 'compiler') 212 status = ProcessBot(name, 'compiler')
213 213
214 if status: 214 if status:
215 print '@@@STEP_FAILURE@@@' 215 print '@@@STEP_FAILURE@@@'
216 216
217 return status 217 return status
218 218
219 219
220 if __name__ == '__main__': 220 if __name__ == '__main__':
221 sys.exit(main()) 221 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