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

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

Issue 15932013: Use browser controller for safari bots on main waterfall (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 6 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 def TestStepName(name, flags): 106 def TestStepName(name, flags):
107 # Filter out flags with '=' as this breaks the /stats feature of the 107 # Filter out flags with '=' as this breaks the /stats feature of the
108 # build bot. 108 # build bot.
109 flags = [x for x in flags if not '=' in x] 109 flags = [x for x in flags if not '=' in x]
110 return ('%s tests %s' % (name, ' '.join(flags))).strip() 110 return ('%s tests %s' % (name, ' '.join(flags))).strip()
111 111
112 # TODO(ricow): remove this once we have browser controller drivers for all 112 # TODO(ricow): remove this once we have browser controller drivers for all
113 # supported platforms. 113 # supported platforms.
114 def UseBrowserController(runtime, system): 114 def UseBrowserController(runtime, system):
115 supported_platforms = { 115 supported_platforms = {
116 'linux': ['ff', 'chromeOnAndroid', 'chrome'], 116 'linux': ['ff', 'chromeOnAndroid', 'chrome', 'safari'],
117 'mac': [], 117 'mac': [],
118 'windows': [] 118 'windows': []
119 } 119 }
120 # Platforms that we run on the fyi waterfall only. 120 # Platforms that we run on the fyi waterfall only.
121 fyi_supported_platforms = { 121 fyi_supported_platforms = {
122 'linux': [], 122 'linux': [],
123 'mac': ['safari'], 123 'mac': [],
124 'windows': [] 124 'windows': []
125 } 125 }
126 126
127 if (runtime in supported_platforms[system]): 127 if (runtime in supported_platforms[system]):
128 return True 128 return True
129 129
130 if (os.environ.get('BUILDBOT_SCHEDULER') == "fyi-main" and 130 if (os.environ.get('BUILDBOT_SCHEDULER') == "fyi-main" and
131 runtime in fyi_supported_platforms[system]): 131 runtime in fyi_supported_platforms[system]):
132 return True 132 return True
133 133
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 """ 375 """
376 with bot.BuildStep('Build SDK and d8'): 376 with bot.BuildStep('Build SDK and d8'):
377 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode, 377 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode,
378 'dart2js_bot'] 378 'dart2js_bot']
379 print 'Build SDK and d8: %s' % (' '.join(args)) 379 print 'Build SDK and d8: %s' % (' '.join(args))
380 bot.RunProcess(args) 380 bot.RunProcess(args)
381 381
382 382
383 if __name__ == '__main__': 383 if __name__ == '__main__':
384 bot.RunBot(GetBuildInfo, RunCompilerTests, build_step=BuildCompiler) 384 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