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

Side by Side Diff: third_party/crashpad/crashpad/build/run_tests.py

Issue 2814043003: Update Crashpad to 1f28a123a4c9449e3d7ddad4ff00dacd366d5216 (Closed)
Patch Set: Add missing GN config to fix compile/link. Created 3 years, 8 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
OLDNEW
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 20 matching lines...) Expand all
31 os.path.join(os.path.dirname(os.path.abspath(__file__)), os.pardir) 31 os.path.join(os.path.dirname(os.path.abspath(__file__)), os.pardir)
32 binary_dir = args[0] 32 binary_dir = args[0]
33 33
34 tests = [ 34 tests = [
35 'crashpad_client_test', 35 'crashpad_client_test',
36 'crashpad_minidump_test', 36 'crashpad_minidump_test',
37 'crashpad_snapshot_test', 37 'crashpad_snapshot_test',
38 'crashpad_test_test', 38 'crashpad_test_test',
39 'crashpad_util_test', 39 'crashpad_util_test',
40 ] 40 ]
41
42 if sys.platform == 'win32':
43 tests.append('crashpad_handler_test')
44 tests = sorted(tests)
45
41 for test in tests: 46 for test in tests:
42 print '-' * 80 47 print '-' * 80
43 print test 48 print test
44 print '-' * 80 49 print '-' * 80
45 subprocess.check_call(os.path.join(binary_dir, test)) 50 subprocess.check_call(os.path.join(binary_dir, test))
46 51
47 if sys.platform == 'win32': 52 if sys.platform == 'win32':
48 script = 'snapshot/win/end_to_end_test.py' 53 script = 'snapshot/win/end_to_end_test.py'
49 print '-' * 80 54 print '-' * 80
50 print script 55 print script
51 print '-' * 80 56 print '-' * 80
52 subprocess.check_call( 57 subprocess.check_call(
53 [sys.executable, os.path.join(crashpad_dir, script), binary_dir]) 58 [sys.executable, os.path.join(crashpad_dir, script), binary_dir])
54 59
55 return 0 60 return 0
56 61
57 62
58 if __name__ == '__main__': 63 if __name__ == '__main__':
59 sys.exit(main(sys.argv[1:])) 64 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « third_party/crashpad/README.chromium ('k') | third_party/crashpad/crashpad/client/crashpad_client_win_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698