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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 'crashpad_minidump_test', | 50 'crashpad_minidump_test', |
51 'crashpad_snapshot_test', | 51 'crashpad_snapshot_test', |
52 'crashpad_test_test', | 52 'crashpad_test_test', |
53 'crashpad_util_test', | 53 'crashpad_util_test', |
54 ] | 54 ] |
55 for test in tests: | 55 for test in tests: |
56 print '-' * 80 | 56 print '-' * 80 |
57 print test | 57 print test |
58 print '-' * 80 | 58 print '-' * 80 |
59 subprocess.check_call(os.path.join(binary_dir, test)) | 59 subprocess.check_call(os.path.join(binary_dir, test)) |
| 60 |
| 61 if sys.platform == 'win32': |
| 62 name = 'snapshot/win/end_to_end_test.py' |
| 63 print '-' * 80 |
| 64 print name |
| 65 print '-' * 80 |
| 66 subprocess.check_call( |
| 67 [sys.executable, os.path.join(crashpad_dir, name), args[0]]) |
| 68 |
60 return 0 | 69 return 0 |
61 | 70 |
62 | 71 |
63 if __name__ == '__main__': | 72 if __name__ == '__main__': |
64 sys.exit(main(sys.argv[1:])) | 73 sys.exit(main(sys.argv[1:])) |
OLD | NEW |