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

Side by Side Diff: build/run_tests.py

Issue 1394343005: Fix path to binary dir in cdb test (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « no previous file | snapshot/win/end_to_end_test.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 60
61 if sys.platform == 'win32': 61 if sys.platform == 'win32':
62 name = 'snapshot/win/end_to_end_test.py' 62 name = 'snapshot/win/end_to_end_test.py'
63 print '-' * 80 63 print '-' * 80
64 print name 64 print name
65 print '-' * 80 65 print '-' * 80
66 subprocess.check_call( 66 subprocess.check_call(
67 [sys.executable, os.path.join(crashpad_dir, name), out_dir]) 67 [sys.executable, os.path.join(crashpad_dir, name), binary_dir])
68 68
69 return 0 69 return 0
70 70
71 71
72 if __name__ == '__main__': 72 if __name__ == '__main__':
73 sys.exit(main(sys.argv[1:])) 73 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « no previous file | snapshot/win/end_to_end_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698