test: Log output even if fuzzer failed
This commit is contained in:
parent
0853d8d2fd
commit
fa35c4239f
1 changed files with 3 additions and 1 deletions
|
@ -106,8 +106,10 @@ def run_once(*, corpus, test_list, build_dir, export_coverage):
|
||||||
os.path.join(corpus, t),
|
os.path.join(corpus, t),
|
||||||
]
|
]
|
||||||
logging.debug('Run {} with args {}'.format(t, args))
|
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))
|
logging.debug('Output: {}'.format(output))
|
||||||
|
result.check_returncode()
|
||||||
if not export_coverage:
|
if not export_coverage:
|
||||||
continue
|
continue
|
||||||
for l in output.splitlines():
|
for l in output.splitlines():
|
||||||
|
|
Loading…
Add table
Reference in a new issue