Skip to content

Commit 8ccd721

Browse files
committed
infra: print log data when Python fuzz_target fails
This will make it easier to debug coverage failures that are not reproducible locally.
1 parent 690b4eb commit 8ccd721

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

infra/base-images/base-runner/coverage

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ function run_python_fuzz_target {
180180
if (( $? != 0 )); then
181181
echo "Error happened getting coverage of $target"
182182
echo "This is likely because Atheris did not exit gracefully"
183+
cat $LOGS_DIR/$target.log
183184
return 0
184185
fi
185186
mv .coverage $OUT/.coverage_$target

0 commit comments

Comments
 (0)