Skip to content

Commit

Permalink
infra: print log data when Python fuzz_target fails
Browse files Browse the repository at this point in the history
This will make it easier to debug coverage failures that are not
reproducible locally.
  • Loading branch information
correctmost committed Oct 3, 2024
1 parent c3df2de commit ce01782
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions infra/base-images/base-runner/coverage
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ function run_python_fuzz_target {
if (( $? != 0 )); then
echo "Error happened getting coverage of $target"
echo "This is likely because Atheris did not exit gracefully"
cat $LOGS_DIR/$target.log
return 0
fi
mv .coverage $OUT/.coverage_$target
Expand Down

0 comments on commit ce01782

Please sign in to comment.