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

Side by Side Diff: dart/runtime/tools/make_version.py

Issue 11189120: Add more debug information for http://dartbug.com/6005. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 2 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 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 # for details. All rights reserved. Use of this source code is governed by a 2 # for details. All rights reserved. Use of this source code is governed by a
3 # BSD-style license that can be found in the LICENSE file. 3 # BSD-style license that can be found in the LICENSE file.
4 # 4 #
5 # This python script creates a version string in a C++ file. 5 # This python script creates a version string in a C++ file.
6 6
7 import os 7 import os
8 import sys 8 import sys
9 import subprocess 9 import subprocess
10 import platform 10 import platform
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 return -1 110 return -1
111 111
112 return 0 112 return 0
113 except Exception, inst: 113 except Exception, inst:
114 sys.stderr.write('make_version.py exception\n') 114 sys.stderr.write('make_version.py exception\n')
115 sys.stderr.write(str(inst)) 115 sys.stderr.write(str(inst))
116 sys.stderr.write('\n') 116 sys.stderr.write('\n')
117 return -1 117 return -1
118 118
119 if __name__ == '__main__': 119 if __name__ == '__main__':
120 sys.exit(main(sys.argv)) 120 sys.stderr.write('starting make_version.py\n')
121 sys.stderr.flush()
122 exit_code = main(sys.argv)
123 sys.stderr.write('exiting make_version.py (exit code: %s)\n' % exit_code)
124 sys.stderr.flush()
125 sys.exit(exit_code)
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