| 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 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 if runtime == 'd8' or (system == 'linux' and runtime == 'chrome'): | 249 if runtime == 'd8' or (system == 'linux' and runtime == 'chrome'): |
| 250 status = TestFrog(compiler, runtime, mode, system, None, []) | 250 status = TestFrog(compiler, runtime, mode, system, None, []) |
| 251 if status != 0: | 251 if status != 0: |
| 252 print '@@@STEP_FAILURE@@@' | 252 print '@@@STEP_FAILURE@@@' |
| 253 return status | 253 return status |
| 254 | 254 |
| 255 status = TestFrog(compiler, runtime, mode, system, None, ['--checked']) | 255 status = TestFrog(compiler, runtime, mode, system, None, ['--checked']) |
| 256 if status != 0: | 256 if status != 0: |
| 257 print '@@@STEP_FAILURE@@@' | 257 print '@@@STEP_FAILURE@@@' |
| 258 | 258 |
| 259 if compiler == 'frog' and runtime == 'drt': | 259 if compiler == 'frog' and runtime in ['ff', 'chrome', 'safari', 'opera', |
| 260 'ie', 'drt']: |
| 260 CleanUpTemporaryFiles(system, browser) | 261 CleanUpTemporaryFiles(system, browser) |
| 261 return status | 262 return status |
| 262 | 263 |
| 263 | 264 |
| 264 if __name__ == '__main__': | 265 if __name__ == '__main__': |
| 265 sys.exit(main()) | 266 sys.exit(main()) |
| OLD | NEW |