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

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

Issue 870423002: Enable co19 tests on IE build slaves. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase Created 5 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 | 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 20 matching lines...) Expand all
31 IE_VERSIONS = ['ie10', 'ie11'] 31 IE_VERSIONS = ['ie10', 'ie11']
32 32
33 DART2JS_FULL_CONFIGURATIONS = { 33 DART2JS_FULL_CONFIGURATIONS = {
34 'linux' : [ 34 'linux' : [
35 {'runtime' : 'ff'}, 35 {'runtime' : 'ff'},
36 {'runtime' : 'chrome'}, 36 {'runtime' : 'chrome'},
37 ], 37 ],
38 'mac' : [ ], 38 'mac' : [ ],
39 'windows-ie10' : [ 39 'windows-ie10' : [
40 {'runtime' : 'ie10'}, 40 {'runtime' : 'ie10'},
41 {'runtime' : 'ie10', 'additional_flags' : ['--checked']},
42 {'runtime' : 'chrome'}, 41 {'runtime' : 'chrome'},
43 ], 42 ],
44 'windows-ie11' : [ 43 'windows-ie11' : [
45 {'runtime' : 'ie11'}, 44 {'runtime' : 'ie11'},
46 {'runtime' : 'ie11', 'additional_flags' : ['--checked']},
47 {'runtime' : 'ff'}, 45 {'runtime' : 'ff'},
48 ], 46 ],
49 } 47 }
50 48
51 49
52 def GetBuildInfo(builder_name, is_buildbot): 50 def GetBuildInfo(builder_name, is_buildbot):
53 """Returns a BuildInfo object for the current buildbot based on the 51 """Returns a BuildInfo object for the current buildbot based on the
54 name of the builder. 52 name of the builder.
55 """ 53 """
56 compiler = None 54 compiler = None
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 TestStep("dart2js_unit", mode, system, 'none', 'vm', ['dart2js', 'try'], 281 TestStep("dart2js_unit", mode, system, 'none', 'vm', ['dart2js', 'try'],
284 unit_test_flags, arch) 282 unit_test_flags, arch)
285 283
286 if compiler == 'dart2js' and runtime == 'drt': 284 if compiler == 'dart2js' and runtime == 'drt':
287 # Ensure that we run the "try" tests on Content Shell. 285 # Ensure that we run the "try" tests on Content Shell.
288 TestStep("incremental_compilation", mode, system, 'none', runtime, 286 TestStep("incremental_compilation", mode, system, 'none', runtime,
289 ['try'], unit_test_flags, arch) 287 ['try'], unit_test_flags, arch)
290 288
291 if compiler == 'dart2js' and runtime in ['ie10', 'ie11']: 289 if compiler == 'dart2js' and runtime in ['ie10', 'ie11']:
292 TestStep(compiler, mode, system, compiler, runtime, 290 TestStep(compiler, mode, system, compiler, runtime,
293 ['html', 'pkg', 'samples'], flags, arch) 291 ['html', 'pkg', 'samples', 'co19'], flags, arch)
ricow1 2015/01/26 09:25:19 we should remove the list all together, but I am f
294 else: 292 else:
295 # Run the default set of test suites. 293 # Run the default set of test suites.
296 TestStep(compiler, mode, system, compiler, 294 TestStep(compiler, mode, system, compiler,
297 runtime, [], flags, arch) 295 runtime, [], flags, arch)
298 296
299 if compiler == 'dart2js': 297 if compiler == 'dart2js':
300 # TODO(kasperl): Consider running peg and css tests too. 298 # TODO(kasperl): Consider running peg and css tests too.
301 extras = ['dart2js_extra', 'dart2js_native'] 299 extras = ['dart2js_extra', 'dart2js_native']
302 extras_flags = flags 300 extras_flags = flags
303 if (system == 'linux' 301 if (system == 'linux'
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 if build_info.mode == 'debug': 406 if build_info.mode == 'debug':
409 target = 'dart2js_bot_debug' 407 target = 'dart2js_bot_debug'
410 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode, 408 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode,
411 '--arch=' + build_info.arch, target] 409 '--arch=' + build_info.arch, target]
412 print 'Build SDK and d8: %s' % (' '.join(args)) 410 print 'Build SDK and d8: %s' % (' '.join(args))
413 bot.RunProcess(args) 411 bot.RunProcess(args)
414 412
415 413
416 if __name__ == '__main__': 414 if __name__ == '__main__':
417 bot.RunBot(GetBuildInfo, RunCompilerTests, build_step=BuildCompiler) 415 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