| OLD | NEW |
| 1 #!/usr/bin/python | 1 #!/usr/bin/python |
| 2 | 2 |
| 3 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 3 # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
| 5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
| 6 | 6 |
| 7 """Dart frog buildbot steps | 7 """Dart frog buildbot steps |
| 8 | 8 |
| 9 Runs tests for the frog compiler (running on the vm or the self-hosting version) | 9 Runs tests for the frog compiler (running on the vm or the self-hosting version) |
| 10 """ | 10 """ |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 | 111 |
| 112 if arch == 'frogsh': | 112 if arch == 'frogsh': |
| 113 # There is no need to run these tests both for frog and frogsh. | 113 # There is no need to run these tests both for frog and frogsh. |
| 114 | 114 |
| 115 TestStep("leg", testpy_mode, system, 'leg', [], flags) | 115 TestStep("leg", testpy_mode, system, 'leg', [], flags) |
| 116 TestStep("leg_extra", testpy_mode, system, 'leg', ['leg_only'], flags) | 116 TestStep("leg_extra", testpy_mode, system, 'leg', ['leg_only'], flags) |
| 117 # Leg isn't self-hosted (yet) so we run the leg unit tests on the VM. | 117 # Leg isn't self-hosted (yet) so we run the leg unit tests on the VM. |
| 118 TestStep("leg_extra", testpy_mode, system, 'vm', ['leg'], flags) | 118 TestStep("leg_extra", testpy_mode, system, 'vm', ['leg'], flags) |
| 119 | 119 |
| 120 else: | 120 else: |
| 121 tests = ['client', 'language', 'corelib', 'isolate', 'frog', 'peg', 'css'] |
| 121 if system != 'windows': | 122 if system != 'windows': |
| 122 # DumpRenderTree tests (DRT is currently not available on Windows): | 123 # DumpRenderTree tests (DRT is currently not available on Windows): |
| 123 tests = [ | |
| 124 'client', 'language', 'corelib', 'isolate', 'frog', 'peg', 'css'] | |
| 125 TestStep("browser", testpy_mode, system, 'frogium', tests, flags) | 124 TestStep("browser", testpy_mode, system, 'frogium', tests, flags) |
| 126 | 125 |
| 127 # Webdriver tests. | 126 # Webdriver tests. |
| 128 if system == 'linux': | 127 if system == 'linux': |
| 129 browsers = ['ff', 'chrome'] | 128 browsers = ['ff', 'chrome'] |
| 130 elif system == 'mac': | 129 elif system == 'mac': |
| 131 browsers = ['ff', 'chrome', 'safari'] | 130 browsers = ['ff', 'chrome', 'safari'] |
| 132 else: | 131 else: |
| 133 browsers = ['ff', 'chrome', 'ie'] | 132 browsers = ['ff', 'chrome', 'ie'] |
| 134 | 133 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 150 return 1 | 149 return 1 |
| 151 | 150 |
| 152 status = TestFrog(arch, mode, system) | 151 status = TestFrog(arch, mode, system) |
| 153 if status != 0: | 152 if status != 0: |
| 154 print '@@@STEP_FAILURE@@@' | 153 print '@@@STEP_FAILURE@@@' |
| 155 return status | 154 return status |
| 156 | 155 |
| 157 | 156 |
| 158 if __name__ == '__main__': | 157 if __name__ == '__main__': |
| 159 sys.exit(main()) | 158 sys.exit(main()) |
| OLD | NEW |