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

Side by Side Diff: tools/bots/cross-vm.py

Issue 15917009: Don't throw if a step failed (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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) 2013, the Dart project authors. Please see the AUTHORS file 2 # Copyright (c) 2013, 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 import os 6 import os
7 import re 7 import re
8 import shutil 8 import shutil
9 import sys 9 import sys
10 10
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 mode = cross_vm_pattern_match.group(2) 149 mode = cross_vm_pattern_match.group(2)
150 cross_compiling_builder(arch, mode) 150 cross_compiling_builder(arch, mode)
151 elif target_vm_pattern_match: 151 elif target_vm_pattern_match:
152 arch = target_vm_pattern_match.group(1) 152 arch = target_vm_pattern_match.group(1)
153 mode = target_vm_pattern_match.group(2) 153 mode = target_vm_pattern_match.group(2)
154 target_builder(arch, mode) 154 target_builder(arch, mode)
155 else: 155 else:
156 raise Exception("Unknown builder name %s" % name) 156 raise Exception("Unknown builder name %s" % name)
157 157
158 if __name__ == '__main__': 158 if __name__ == '__main__':
159 sys.exit(main()) 159 try:
160 sys.exit(main())
161 except OSError as e:
162 sys.exit(e.errno)
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