Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Side by Side Diff: native_client_sdk/src/build_tools/test_sdk.py

Issue 16022005: [NaCl SDK] Add keyboard interrupt handlers for python scripts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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')
OLDNEW
« no previous file with comments | « native_client_sdk/src/build_tools/sdk_tools/sdk_update_main.py ('k') | native_client_sdk/src/tools/create_nmf.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698