Skip to content

Commit

Permalink
[infra] Save logs when generating code coverage for Go projects (#2817,
Browse files Browse the repository at this point in the history
  • Loading branch information
Dor1s authored Nov 20, 2020
1 parent e7921e7 commit e534f4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infra/base-images/base-runner/coverage
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ function run_go_fuzz_target {
echo "Running go target $target"
export FUZZ_CORPUS_DIR="/corpus/${target}/"
export FUZZ_PROFILE_NAME="$DUMPS_DIR/$target.perf"
bash $OUT/$target $DUMPS_DIR/$target.profdata
bash $OUT/$target $DUMPS_DIR/$target.profdata &> $LOGS_DIR/$target.log
$SYSGOPATH/bin/gocovsum $DUMPS_DIR/$target.profdata > $FUZZER_STATS_DIR/$target.json
cd $OUT
}
Expand Down

0 comments on commit e534f4f

Please sign in to comment.