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

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

Issue 10912109: Fix checked mode on browser. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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 | « tests/lib/lib.status ('k') | utils/tests/pub/pub.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 """Dart2js buildbot steps 7 """Dart2js buildbot steps
8 8
9 Runs tests for the dart2js compiler. 9 Runs tests for the dart2js compiler.
10 """ 10 """
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 333
334 test_flags = [] 334 test_flags = []
335 if shard_index: 335 if shard_index:
336 test_flags = ['--shards=%s' % total_shards, '--shard=%s' % shard_index] 336 test_flags = ['--shards=%s' % total_shards, '--shard=%s' % shard_index]
337 337
338 # First we run all the regular tests. 338 # First we run all the regular tests.
339 status = TestCompiler(runtime, mode, system, option, test_flags, 339 status = TestCompiler(runtime, mode, system, option, test_flags,
340 is_buildbot) 340 is_buildbot)
341 341
342 if (status == 0 342 if (status == 0
343 and runtime != 'chrome' 343 and (system == 'linux' or runtime != 'chrome')
344 and runtime != 'opera' 344 and runtime != 'opera'
345 and runtime != 'ff' 345 and runtime != 'ff'
346 and runtime != 'ie' 346 and runtime != 'ie'
347 and runtime != 'safari'): 347 and runtime != 'safari'):
348 status = TestCompiler(runtime, mode, system, option, 348 status = TestCompiler(runtime, mode, system, option,
349 test_flags + ['--checked'], is_buildbot) 349 test_flags + ['--checked'], is_buildbot)
350 350
351 if runtime != 'd8': CleanUpTemporaryFiles(system, runtime) 351 if runtime != 'd8': CleanUpTemporaryFiles(system, runtime)
352 if status != 0: print '@@@STEP_FAILURE@@@' 352 if status != 0: print '@@@STEP_FAILURE@@@'
353 return status 353 return status
354 354
355 if __name__ == '__main__': 355 if __name__ == '__main__':
356 sys.exit(main()) 356 sys.exit(main())
OLDNEW
« no previous file with comments | « tests/lib/lib.status ('k') | utils/tests/pub/pub.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698