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

Side by Side Diff: utils/compiler/buildbot.py

Issue 10446060: Use drt instead of chrome in dart2js/chrome/linux. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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 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 or dart2js compiler. 9 Runs tests for the frog or dart2js compiler.
10 """ 10 """
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 182
183 # Make sure we are in the frog directory 183 # Make sure we are in the frog directory
184 os.chdir(DART_PATH) 184 os.chdir(DART_PATH)
185 185
186 if system.startswith('win') and runtime == 'ie': 186 if system.startswith('win') and runtime == 'ie':
187 # There should not be more than one InternetExplorerDriver instance 187 # There should not be more than one InternetExplorerDriver instance
188 # running at a time. For details, see 188 # running at a time. For details, see
189 # http://code.google.com/p/selenium/wiki/InternetExplorerDriver. 189 # http://code.google.com/p/selenium/wiki/InternetExplorerDriver.
190 flags = flags + ['-j1'] 190 flags = flags + ['-j1']
191 191
192 if system == 'linux' and runtime == 'chrome':
193 # TODO(ngeoffray): We should install selenium on the buildbot.
194 runtime = 'drt'
195
192 if compiler == 'dart2js': 196 if compiler == 'dart2js':
193 if option == 'checked': flags = flags + ['--host-checked'] 197 if option == 'checked': flags = flags + ['--host-checked']
194 198
195 if runtime == 'd8': 199 if runtime == 'd8':
196 # The dart2js compiler isn't self-hosted (yet) so we run its 200 # The dart2js compiler isn't self-hosted (yet) so we run its
197 # unit tests on the VM. We avoid doing this on the builders 201 # unit tests on the VM. We avoid doing this on the builders
198 # that run the browser tests to cut down on the cycle time. 202 # that run the browser tests to cut down on the cycle time.
199 TestStep("dart2js_unit", mode, system, 'none', 'vm', ['leg'], flags) 203 TestStep("dart2js_unit", mode, system, 'none', 'vm', ['leg'], flags)
200 204
201 # Run the default set of test suites. 205 # Run the default set of test suites.
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 if status == 0 and compiler != 'dart2js': 284 if status == 0 and compiler != 'dart2js':
281 status = TestCompiler(compiler, runtime, mode, system, option, 285 status = TestCompiler(compiler, runtime, mode, system, option,
282 test_flags + ['--checked']) 286 test_flags + ['--checked'])
283 287
284 if runtime != 'd8': CleanUpTemporaryFiles(system, runtime) 288 if runtime != 'd8': CleanUpTemporaryFiles(system, runtime)
285 if status != 0: print '@@@STEP_FAILURE@@@' 289 if status != 0: print '@@@STEP_FAILURE@@@'
286 return status 290 return status
287 291
288 if __name__ == '__main__': 292 if __name__ == '__main__':
289 sys.exit(main()) 293 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