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 Sep 15, 2024
1 parent 3a267a1 commit 9dc0bd5
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 9dc0bd5

Please sign in to comment.