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

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

Issue 265753004: Add support for mobile safari simulator in the dart2js annotated steps (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 7 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.
11 """ 11 """
12 12
13 import os 13 import os
14 import platform 14 import platform
15 import re 15 import re
16 import shutil 16 import shutil
17 import socket 17 import socket
18 import subprocess 18 import subprocess
19 import sys 19 import sys
20 20
21 import bot 21 import bot
22 22
23 DARTIUM_BUILDER = r'none-dartium-(linux|mac|windows)' 23 DARTIUM_BUILDER = r'none-dartium-(linux|mac|windows)'
24 DART2JS_BUILDER = ( 24 DART2JS_BUILDER = (
25 r'dart2js-(linux|mac|windows)(-(jsshell))?-(debug|release)(-(checked|host-ch ecked))?(-(host-checked))?(-(minified))?(-(x64))?-?(\d*)-?(\d*)') 25 r'dart2js-(linux|mac|windows)(-(jsshell))?-(debug|release)(-(checked|host-ch ecked))?(-(host-checked))?(-(minified))?(-(x64))?-?(\d*)-?(\d*)')
26 DART2JS_FULL_BUILDER = r'dart2js-full-(linux|mac|windows)(-checked)?(-minified)? -(\d+)-(\d+)' 26 DART2JS_FULL_BUILDER = r'dart2js-full-(linux|mac|windows)(-checked)?(-minified)? -(\d+)-(\d+)'
27 WEB_BUILDER = ( 27 WEB_BUILDER = (
28 r'dart2js-(ie9|ie10|ie11|ff|safari|chrome|chromeOnAndroid|opera|drt)-(win7|w in8|mac10\.8|mac10\.7|linux)(-(all|html))?(-(csp))?(-(\d+)-(\d+))?') 28 r'dart2js-(ie9|ie10|ie11|ff|safari|chrome|chromeOnAndroid|safarimobilesim|op era|drt)-(win7|win8|mac10\.8|mac10\.7|linux)(-(all|html))?(-(csp))?(-(\d+)-(\d+) )?')
29 29
30 DART2JS_FULL_CONFIGURATIONS = { 30 DART2JS_FULL_CONFIGURATIONS = {
31 'linux' : [ ], 31 'linux' : [ ],
32 'mac' : [ ], 32 'mac' : [ ],
33 'windows' : [ 33 'windows' : [
34 {'runtime' : 'ie9'}, 34 {'runtime' : 'ie9'},
35 {'runtime' : 'ie9', 'additional_flags' : ['--checked']}, 35 {'runtime' : 'ie9', 'additional_flags' : ['--checked']},
36 {'runtime' : 'ff'}, 36 {'runtime' : 'ff'},
37 {'runtime' : 'chrome'}, 37 {'runtime' : 'chrome'},
38 ], 38 ],
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 """ 371 """
372 with bot.BuildStep('Build SDK'): 372 with bot.BuildStep('Build SDK'):
373 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode, 373 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode,
374 '--arch=' + build_info.arch, 'dart2js_bot'] 374 '--arch=' + build_info.arch, 'dart2js_bot']
375 print 'Build SDK and d8: %s' % (' '.join(args)) 375 print 'Build SDK and d8: %s' % (' '.join(args))
376 bot.RunProcess(args) 376 bot.RunProcess(args)
377 377
378 378
379 if __name__ == '__main__': 379 if __name__ == '__main__':
380 bot.RunBot(GetBuildInfo, RunCompilerTests, build_step=BuildCompiler) 380 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