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

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

Issue 24031002: Enable browser controller for firefox on windows on the bots. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 | « 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 # build bot. 112 # build bot.
113 flags = [x for x in flags if not '=' in x] 113 flags = [x for x in flags if not '=' in x]
114 return ('%s tests %s' % (name, ' '.join(flags))).strip() 114 return ('%s tests %s' % (name, ' '.join(flags))).strip()
115 115
116 # TODO(ricow): remove this once we have browser controller drivers for all 116 # TODO(ricow): remove this once we have browser controller drivers for all
117 # supported platforms. 117 # supported platforms.
118 def UseBrowserController(runtime, system): 118 def UseBrowserController(runtime, system):
119 supported_platforms = { 119 supported_platforms = {
120 'linux': ['ff', 'chromeOnAndroid', 'chrome'], 120 'linux': ['ff', 'chromeOnAndroid', 'chrome'],
121 'mac': ['safari'], 121 'mac': ['safari'],
122 'windows': ['ie9', 'ie10'] 122 'windows': ['ie9', 'ie10', 'ff']
123 } 123 }
124 # Platforms that we run on the fyi waterfall only. 124 # Platforms that we run on the fyi waterfall only.
125 fyi_supported_platforms = { 125 fyi_supported_platforms = {
126 'linux': [], 126 'linux': [],
127 'mac': [], 127 'mac': [],
128 'windows': [] 128 'windows': []
129 } 129 }
130 130
131 if (runtime in supported_platforms[system]): 131 if (runtime in supported_platforms[system]):
132 return True 132 return True
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 """ 384 """
385 with bot.BuildStep('Build SDK and d8'): 385 with bot.BuildStep('Build SDK and d8'):
386 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode, 386 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode,
387 '--arch=' + build_info.arch, 'dart2js_bot'] 387 '--arch=' + build_info.arch, 'dart2js_bot']
388 print 'Build SDK and d8: %s' % (' '.join(args)) 388 print 'Build SDK and d8: %s' % (' '.join(args))
389 bot.RunProcess(args) 389 bot.RunProcess(args)
390 390
391 391
392 if __name__ == '__main__': 392 if __name__ == '__main__':
393 bot.RunBot(GetBuildInfo, RunCompilerTests, build_step=BuildCompiler) 393 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