Fix path to binary dir in cdb test

Oops, was passing the out dir (...\crashpad\out), not the binary dir
(...\crashpad\out\Debug). Didn't notice because I was running the
script directly, rather than via run_tests.py. :/

R=mark@chromium.org
BUG=crashpad:46

Review URL: https://codereview.chromium.org/1394343005 .
This commit is contained in:
Scott Graham 2015-10-09 14:43:11 -07:00
parent 52238122e9
commit d7ee79cb36
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ def main(args):
print name
print '-' * 80
subprocess.check_call(
[sys.executable, os.path.join(crashpad_dir, name), out_dir])
[sys.executable, os.path.join(crashpad_dir, name), binary_dir])
return 0

View File

@ -187,7 +187,7 @@ def RunTests(cdb_path, dump_path, pipe_name):
def main(args):
try:
if len(args) != 1:
print >>sys.stderr, 'must supply out dir'
print >>sys.stderr, 'must supply binary dir'
return 1
cdb_path = GetCdbPath()