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

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

Issue 386563002: Add "point of interest" app for command-line testing of dart2js type information. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 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 | « dart/tests/try/web/test_try.dart ('k') | 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 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 # Failed to obtain version information. Continue running tests. 271 # Failed to obtain version information. Continue running tests.
272 pass 272 pass
273 273
274 if runtime == 'd8': 274 if runtime == 'd8':
275 # The dart2js compiler isn't self-hosted (yet) so we run its 275 # The dart2js compiler isn't self-hosted (yet) so we run its
276 # unit tests on the VM. We avoid doing this on the builders 276 # unit tests on the VM. We avoid doing this on the builders
277 # that run the browser tests to cut down on the cycle time. 277 # that run the browser tests to cut down on the cycle time.
278 unit_test_flags = [flag for flag in flags if flag.startswith('--shard')] 278 unit_test_flags = [flag for flag in flags if flag.startswith('--shard')]
279 # Run the unit tests in checked mode (the VM's checked mode). 279 # Run the unit tests in checked mode (the VM's checked mode).
280 unit_test_flags.append('--checked') 280 unit_test_flags.append('--checked')
281 TestStep("dart2js_unit", mode, system, 'none', 'vm', ['dart2js'], 281 TestStep("dart2js_unit", mode, system, 'none', 'vm', ['dart2js', 'try'],
282 unit_test_flags, arch) 282 unit_test_flags, arch)
283 283
284 if compiler == 'dart2js' and runtime in ['ie10', 'ie11']: 284 if compiler == 'dart2js' and runtime in ['ie10', 'ie11']:
285 TestStep(compiler, mode, system, compiler, runtime, 285 TestStep(compiler, mode, system, compiler, runtime,
286 ['html', 'pkg', 'samples'], flags, arch) 286 ['html', 'pkg', 'samples'], flags, arch)
287 else: 287 else:
288 # Run the default set of test suites. 288 # Run the default set of test suites.
289 TestStep(compiler, mode, system, compiler, 289 TestStep(compiler, mode, system, compiler,
290 runtime, [], flags, arch) 290 runtime, [], flags, arch)
291 291
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 if build_info.mode == 'debug': 399 if build_info.mode == 'debug':
400 target = 'dart2js_bot_debug' 400 target = 'dart2js_bot_debug'
401 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode, 401 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode,
402 '--arch=' + build_info.arch, target] 402 '--arch=' + build_info.arch, target]
403 print 'Build SDK and d8: %s' % (' '.join(args)) 403 print 'Build SDK and d8: %s' % (' '.join(args))
404 bot.RunProcess(args) 404 bot.RunProcess(args)
405 405
406 406
407 if __name__ == '__main__': 407 if __name__ == '__main__':
408 bot.RunBot(GetBuildInfo, RunCompilerTests, build_step=BuildCompiler) 408 bot.RunBot(GetBuildInfo, RunCompilerTests, build_step=BuildCompiler)
OLDNEW
« no previous file with comments | « dart/tests/try/web/test_try.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698