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

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

Issue 27551004: More print statements. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 | editor/tools/compile_analyzer.py » ('j') | 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 if '-win' in name: 125 if '-win' in name:
126 # In Windows we need to run in the shell, so that we have all the 126 # In Windows we need to run in the shell, so that we have all the
127 # environment variables available. 127 # environment variables available.
128 has_shell = True 128 has_shell = True
129 return subprocess.call([sys.executable, 129 return subprocess.call([sys.executable,
130 os.path.join('tools', 'bots', target + '.py')], 130 os.path.join('tools', 'bots', target + '.py')],
131 env=environment, shell=has_shell) 131 env=environment, shell=has_shell)
132 132
133 def FixJavaHome(): 133 def FixJavaHome():
134 buildbot_javahome = os.getenv('BUILDBOT_JAVA_HOME') 134 buildbot_javahome = os.getenv('BUILDBOT_JAVA_HOME')
135 print 'value of buildbot_javahome ' + buildbot_javahome
135 if buildbot_javahome: 136 if buildbot_javahome:
137 print 'in buildbot_javahome'
136 current_pwd = os.getenv('PWD') 138 current_pwd = os.getenv('PWD')
137 java_home = os.path.join(current_pwd, buildbot_javahome) 139 java_home = os.path.join(current_pwd, buildbot_javahome)
138 java_bin = os.path.join(java_home, 'bin') 140 java_bin = os.path.join(java_home, 'bin')
139 os.environ['JAVA_HOME'] = java_home 141 os.environ['JAVA_HOME'] = java_home
140 os.environ['PATH'] = '%s;%s' % (java_bin, os.environ['PATH']) 142 os.environ['PATH'] = '%s;%s' % (java_bin, os.environ['PATH'])
141 143
142 print 'Setting java home to ', java_home 144 print 'Setting java home to ', java_home
143 sys.stdout.flush() 145 sys.stdout.flush()
144 146
145 def ClobberBuilder(): 147 def ClobberBuilder():
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 status = ProcessBot(name, 'compiler') 206 status = ProcessBot(name, 'compiler')
205 207
206 if status: 208 if status:
207 print '@@@STEP_FAILURE@@@' 209 print '@@@STEP_FAILURE@@@'
208 210
209 return status 211 return status
210 212
211 213
212 if __name__ == '__main__': 214 if __name__ == '__main__':
213 sys.exit(main()) 215 sys.exit(main())
OLDNEW
« no previous file with comments | « no previous file | editor/tools/compile_analyzer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698