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 or dart2js compiler. | 9 Runs tests for the frog or dart2js compiler. |
10 """ | 10 """ |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 | 195 |
196 TestStep("dart2js", mode, system, 'dart2js', runtime, [], flags) | 196 TestStep("dart2js", mode, system, 'dart2js', runtime, [], flags) |
197 | 197 |
198 elif runtime == 'd8' and compiler in ['frog']: | 198 elif runtime == 'd8' and compiler in ['frog']: |
199 TestStep("frog", mode, system, compiler, runtime, [], flags) | 199 TestStep("frog", mode, system, compiler, runtime, [], flags) |
200 TestStep("frog_extra", mode, system, compiler, runtime, | 200 TestStep("frog_extra", mode, system, compiler, runtime, |
201 ['frog', 'frog_native', 'peg', 'css'], flags) | 201 ['frog', 'frog_native', 'peg', 'css'], flags) |
202 TestStep("sdk", mode, system, 'none', 'vm', ['dartdoc'], flags) | 202 TestStep("sdk", mode, system, 'none', 'vm', ['dartdoc'], flags) |
203 | 203 |
204 else: | 204 else: |
205 tests = ['client', 'language', 'corelib', 'isolate', 'frog', | 205 tests = ['dom', 'html', 'json', 'benchmark_smoke', |
| 206 'language', 'corelib', 'isolate', 'frog', |
206 'frog_native', 'peg', 'css'] | 207 'frog_native', 'peg', 'css'] |
207 | 208 |
208 # TODO(efortuna): Move Mac back to DumpRenderTree when we have a more stable | 209 # TODO(efortuna): Move Mac back to DumpRenderTree when we have a more stable |
209 # solution for DRT. Right now DRT is flakier than regular Chrome for the | 210 # solution for DRT. Right now DRT is flakier than regular Chrome for the |
210 # isolate tests, so we're switching to use Chrome in the short term. | 211 # isolate tests, so we're switching to use Chrome in the short term. |
211 if runtime == 'chrome' and system == 'linux': | 212 if runtime == 'chrome' and system == 'linux': |
212 TestStep('browser', mode, system, 'frog', 'drt', tests, flags) | 213 TestStep('browser', mode, system, 'frog', 'drt', tests, flags) |
213 TestStep('browser_dart2js', mode, system, 'dart2js', 'drt', [], flags) | 214 TestStep('browser_dart2js', mode, system, 'dart2js', 'drt', [], flags) |
214 TestStep('browser_dart2js_extra', mode, system, 'dart2js', 'drt', | 215 TestStep('browser_dart2js_extra', mode, system, 'dart2js', 'drt', |
215 ['leg_only', 'frog_native'], flags) | 216 ['leg_only', 'frog_native'], flags) |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 print '@@@STEP_FAILURE@@@' | 301 print '@@@STEP_FAILURE@@@' |
301 | 302 |
302 if compiler == 'frog' and runtime in ['ff', 'chrome', 'safari', 'opera', | 303 if compiler == 'frog' and runtime in ['ff', 'chrome', 'safari', 'opera', |
303 'ie', 'drt']: | 304 'ie', 'drt']: |
304 CleanUpTemporaryFiles(system, runtime) | 305 CleanUpTemporaryFiles(system, runtime) |
305 return status | 306 return status |
306 | 307 |
307 | 308 |
308 if __name__ == '__main__': | 309 if __name__ == '__main__': |
309 sys.exit(main()) | 310 sys.exit(main()) |
OLD | NEW |