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

Unified Diff: build/run_tests.py

Issue 992503002: Locate test data more robustly (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: 2015 Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | util/net/http_body_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/run_tests.py
diff --git a/build/run_tests.py b/build/run_tests.py
index bec22cfc203812fe858d7b410ffbe1486c2fe4dc..0f97ac41d763a0d0773c84beadd2aebad98511ba 100755
--- a/build/run_tests.py
+++ b/build/run_tests.py
@@ -27,13 +27,10 @@ def main(args):
print >>sys.stderr, 'usage: run_tests.py {Debug|Release}'
return 1;
- # Until https://code.google.com/p/crashpad/issues/detail?id=4 is fixed, tests
- # need to be run from a specific working directory.
crashpad_dir = \
os.path.join(os.path.dirname(os.path.abspath(__file__)), os.pardir)
- os.chdir(crashpad_dir)
- binary_dir = os.path.join('out', args[0])
+ binary_dir = os.path.join(crashpad_dir, 'out', args[0])
tests = [
'crashpad_client_test',
'crashpad_minidump_test',
« no previous file with comments | « no previous file | util/net/http_body_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698