| OLD | NEW |
| 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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'], |
| 117 'mac': ['safari'], | 117 'mac': ['safari'], |
| 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': [], | 123 'mac': [], |
| 124 'windows': [] | 124 'windows': ['ie9'] |
| 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 |
| 134 return False | 134 return False |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 """ | 377 """ |
| 378 with bot.BuildStep('Build SDK and d8'): | 378 with bot.BuildStep('Build SDK and d8'): |
| 379 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode, | 379 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode, |
| 380 'dart2js_bot'] | 380 'dart2js_bot'] |
| 381 print 'Build SDK and d8: %s' % (' '.join(args)) | 381 print 'Build SDK and d8: %s' % (' '.join(args)) |
| 382 bot.RunProcess(args) | 382 bot.RunProcess(args) |
| 383 | 383 |
| 384 | 384 |
| 385 if __name__ == '__main__': | 385 if __name__ == '__main__': |
| 386 bot.RunBot(GetBuildInfo, RunCompilerTests, build_step=BuildCompiler) | 386 bot.RunBot(GetBuildInfo, RunCompilerTests, build_step=BuildCompiler) |
| OLD | NEW |