mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-19 09:53:47 +01:00
test: Log output even if fuzzer failed
This commit is contained in:
parent
0853d8d2fd
commit
fa35c4239f
@ -106,8 +106,10 @@ def run_once(*, corpus, test_list, build_dir, export_coverage):
|
||||
os.path.join(corpus, t),
|
||||
]
|
||||
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():
|
||||
|
Loading…
Reference in New Issue
Block a user