| OLD | NEW |
| 1 #!/usr/bin/python | 1 #!/usr/bin/python |
| 2 # | 2 # |
| 3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 3 # Copyright (c) 2010 The Chromium OS 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 """Wrapper for tests that are run on builders.""" | 7 """Wrapper for tests that are run on builders.""" |
| 8 | 8 |
| 9 import fileinput | 9 import fileinput |
| 10 import optparse | 10 import optparse |
| (...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 300 | 300 |
| 301 if not options.zipbase: | 301 if not options.zipbase: |
| 302 parser.error('Need zip url base to get images.') | 302 parser.error('Need zip url base to get images.') |
| 303 | 303 |
| 304 RunAUTestHarness(options.board, options.channel, options.latestbase, | 304 RunAUTestHarness(options.board, options.channel, options.latestbase, |
| 305 options.zipbase, options.no_graphics, options.type, | 305 options.zipbase, options.no_graphics, options.type, |
| 306 options.remote) | 306 options.remote) |
| 307 | 307 |
| 308 | 308 |
| 309 if __name__ == '__main__': | 309 if __name__ == '__main__': |
| 310 try: | 310 main() |
| 311 main() | |
| 312 except Exception: | |
| 313 print "Got exception." | |
| 314 traceback.print_exc(file=sys.stdout) | |
| 315 | 311 |
| OLD | NEW |