OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 | 6 |
7 import optparse | 7 import optparse |
8 import os | 8 import os |
9 import sys | 9 import sys |
10 | 10 |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 toolchains = ['newlib', 'glibc', 'pnacl', 'host'] | 88 toolchains = ['newlib', 'glibc', 'pnacl', 'host'] |
89 | 89 |
90 BuildStepBuildExamples(pepperdir, platform) | 90 BuildStepBuildExamples(pepperdir, platform) |
91 BuildStepCopyTests(pepperdir, toolchains, options.experimental, True) | 91 BuildStepCopyTests(pepperdir, toolchains, options.experimental, True) |
92 BuildStepBuildTests(pepperdir, platform) | 92 BuildStepBuildTests(pepperdir, platform) |
93 | 93 |
94 return 0 | 94 return 0 |
95 | 95 |
96 | 96 |
97 if __name__ == '__main__': | 97 if __name__ == '__main__': |
98 sys.exit(main(sys.argv)) | 98 try: |
| 99 sys.exit(main(sys.argv)) |
| 100 except KeyboardInterrupt: |
| 101 buildbot_common.ErrorExit('test_sdk: interrupted') |
OLD | NEW |