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

Side by Side Diff: dart/tools/bots/compiler.py

Issue 203383006: Enable pkg/samples on IE10/IE11 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 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) 2012, the Dart project authors. Please see the AUTHORS file 3 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4 # for details. All rights reserved. Use of this source code is governed by a 4 # for details. All rights reserved. Use of this source code is governed by a
5 # BSD-style license that can be found in the LICENSE file. 5 # BSD-style license that can be found in the LICENSE file.
6 6
7 """ 7 """
8 Dart2js buildbot steps 8 Dart2js buildbot steps
9 9
10 Runs tests for the dart2js compiler. 10 Runs tests for the dart2js compiler.
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 # unit tests on the VM. We avoid doing this on the builders 256 # unit tests on the VM. We avoid doing this on the builders
257 # that run the browser tests to cut down on the cycle time. 257 # that run the browser tests to cut down on the cycle time.
258 unit_test_flags = [flag for flag in flags if flag.startswith('--shard')] 258 unit_test_flags = [flag for flag in flags if flag.startswith('--shard')]
259 # Run the unit tests in checked mode (the VM's checked mode). 259 # Run the unit tests in checked mode (the VM's checked mode).
260 unit_test_flags.append('--checked') 260 unit_test_flags.append('--checked')
261 TestStep("dart2js_unit", mode, system, 'none', 'vm', ['dart2js'], 261 TestStep("dart2js_unit", mode, system, 'none', 'vm', ['dart2js'],
262 unit_test_flags, arch) 262 unit_test_flags, arch)
263 263
264 if compiler == 'dart2js' and runtime in ['ie10', 'ie11']: 264 if compiler == 'dart2js' and runtime in ['ie10', 'ie11']:
265 TestStep("%s-%s" % (compiler, runtime), mode, system, compiler, runtime, 265 TestStep("%s-%s" % (compiler, runtime), mode, system, compiler, runtime,
266 ['html'], flags, arch) 266 ['html', 'pkg', 'samples'], flags, arch)
267 else: 267 else:
268 # Run the default set of test suites. 268 # Run the default set of test suites.
269 TestStep("%s-%s" % (compiler, runtime), mode, system, compiler, 269 TestStep("%s-%s" % (compiler, runtime), mode, system, compiler,
270 runtime, [], flags, arch) 270 runtime, [], flags, arch)
271 271
272 if compiler == 'dart2js': 272 if compiler == 'dart2js':
273 # TODO(kasperl): Consider running peg and css tests too. 273 # TODO(kasperl): Consider running peg and css tests too.
274 extras = ['dart2js_extra', 'dart2js_native'] 274 extras = ['dart2js_extra', 'dart2js_native']
275 extras_flags = flags 275 extras_flags = flags
276 if (system == 'linux' 276 if (system == 'linux'
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 """ 367 """
368 with bot.BuildStep('Build SDK'): 368 with bot.BuildStep('Build SDK'):
369 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode, 369 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode,
370 '--arch=' + build_info.arch, 'dart2js_bot'] 370 '--arch=' + build_info.arch, 'dart2js_bot']
371 print 'Build SDK and d8: %s' % (' '.join(args)) 371 print 'Build SDK and d8: %s' % (' '.join(args))
372 bot.RunProcess(args) 372 bot.RunProcess(args)
373 373
374 374
375 if __name__ == '__main__': 375 if __name__ == '__main__':
376 bot.RunBot(GetBuildInfo, RunCompilerTests, build_step=BuildCompiler) 376 bot.RunBot(GetBuildInfo, RunCompilerTests, build_step=BuildCompiler)
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