Skip to content

Commit

Permalink
Merge pull request #384 from catenacyber/master
Browse files Browse the repository at this point in the history
Right directory for oss-fuzz targets
  • Loading branch information
tdewolff committed Mar 1, 2021
2 parents 43e6042 + cfcaf31 commit f87414e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/oss-fuzz-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
root=$(pwd)
find parse/tests/* -maxdepth 0 -type d | while read target
do
cd $root/$d
cd $root/$target
fuzz_target=`echo $target | rev | cut -d'/' -f 1 | rev`
compile_go_fuzzer github.com/tdewolff/parse/tests/$fuzz_target Fuzz parse-$fuzz_target-fuzzer
done

find minify/tests/* -maxdepth 0 -type d | while read target
do
cd $root/$d
cd $root/$target
fuzz_target=`echo $target | rev | cut -d'/' -f 1 | rev`
compile_go_fuzzer github.com/tdewolff/minify/tests/$fuzz_target Fuzz minify-$fuzz_target-fuzzer
done

0 comments on commit f87414e

Please sign in to comment.