OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 | 2 |
3 # Copyright 2014 The Crashpad Authors. All rights reserved. | 3 # Copyright 2014 The Crashpad Authors. All rights reserved. |
4 # | 4 # |
5 # Licensed under the Apache License, Version 2.0 (the "License"); | 5 # Licensed under the Apache License, Version 2.0 (the "License"); |
6 # you may not use this file except in compliance with the License. | 6 # you may not use this file except in compliance with the License. |
7 # You may obtain a copy of the License at | 7 # You may obtain a copy of the License at |
8 # | 8 # |
9 # http://www.apache.org/licenses/LICENSE-2.0 | 9 # http://www.apache.org/licenses/LICENSE-2.0 |
10 # | 10 # |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 | 44 |
45 binary_dir = os.path.join(out_dir, args[0]) | 45 binary_dir = os.path.join(out_dir, args[0]) |
46 | 46 |
47 tests = [ | 47 tests = [ |
48 'crashpad_client_test', | 48 'crashpad_client_test', |
49 'crashpad_minidump_test', | 49 'crashpad_minidump_test', |
50 'crashpad_snapshot_test', | 50 'crashpad_snapshot_test', |
51 'crashpad_test_test', | 51 'crashpad_test_test', |
52 'crashpad_util_test', | 52 'crashpad_util_test', |
53 ] | 53 ] |
54 if platform.system() == 'Windows': | |
55 tests += [ | |
56 'crashpad_handler_test', | |
57 ] | |
58 for test in tests: | 54 for test in tests: |
59 print '-' * 80 | 55 print '-' * 80 |
60 print test | 56 print test |
61 print '-' * 80 | 57 print '-' * 80 |
62 subprocess.check_call(os.path.join(binary_dir, test)) | 58 subprocess.check_call(os.path.join(binary_dir, test)) |
63 return 0 | 59 return 0 |
64 | 60 |
65 | 61 |
66 if __name__ == '__main__': | 62 if __name__ == '__main__': |
67 sys.exit(main(sys.argv[1:])) | 63 sys.exit(main(sys.argv[1:])) |
OLD | NEW |