partial bitcoin#16236: Log output even if fuzzer failed

This commit is contained in:
Kittywhiskers Van Gogh 2019-06-18 16:31:17 -04:00
parent d2373e53af
commit 422041f96b

View File

@ -131,8 +131,10 @@ def run_once(*, corpus, test_list, build_dir, export_coverage):
corpus_path,
]
logging.debug('Run {} with args {}'.format(t, args))
output = subprocess.run(args, check=True, stderr=subprocess.PIPE, universal_newlines=True).stderr
result = subprocess.run(args, stderr=subprocess.PIPE, universal_newlines=True)
output = result.stderr
logging.debug('Output: {}'.format(output))
result.check_returncode()
if not export_coverage:
continue
for l in output.splitlines():