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

Side by Side Diff: frog/scripts/buildbot_annotated_steps.py

Issue 9361016: Quick fix for running release VM on frogium tests. (until we get the bots renamed) (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 8 years, 10 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 | tests/language/language.status » ('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 2
3 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 """Dart frog buildbot steps 7 """Dart frog buildbot steps
8 8
9 Runs tests for the frog compiler (running on the vm or the self-hosting version) 9 Runs tests for the frog compiler (running on the vm or the self-hosting version)
10 """ 10 """
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 print 'main' 151 print 'main'
152 if len(sys.argv) == 0: 152 if len(sys.argv) == 0:
153 print 'Script pathname not known, giving up.' 153 print 'Script pathname not known, giving up.'
154 return 1 154 return 1
155 155
156 arch, mode, system = GetBuildInfo() 156 arch, mode, system = GetBuildInfo()
157 print "arch: %s, mode: %s, system: %s" % (arch, mode, system) 157 print "arch: %s, mode: %s, system: %s" % (arch, mode, system)
158 if arch is None: 158 if arch is None:
159 return 1 159 return 1
160 160
161 if arch == 'frogium':
162 mode = 'release'
161 status = BuildFrog(arch, mode, system) 163 status = BuildFrog(arch, mode, system)
162 if status != 0: 164 if status != 0:
163 print '@@@STEP_FAILURE@@@' 165 print '@@@STEP_FAILURE@@@'
164 return status 166 return status
165 167
166 if arch != 'frogium': 168 if arch != 'frogium':
167 status = TestFrog(arch, mode, system, []) 169 status = TestFrog(arch, mode, system, [])
168 if status != 0: 170 if status != 0:
169 print '@@@STEP_FAILURE@@@' 171 print '@@@STEP_FAILURE@@@'
170 return status 172 return status
171 173
172 status = TestFrog(arch, mode, system, ['--checked']) 174 status = TestFrog(arch, mode, system, ['--checked'])
173 if status != 0: 175 if status != 0:
174 print '@@@STEP_FAILURE@@@' 176 print '@@@STEP_FAILURE@@@'
175 177
176 return status 178 return status
177 179
178 180
179 if __name__ == '__main__': 181 if __name__ == '__main__':
180 sys.exit(main()) 182 sys.exit(main())
OLDNEW
« no previous file with comments | « no previous file | tests/language/language.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698