oss-fuzz: try fixing build

This commit is contained in:
Marius van der Wijden 2023-10-17 11:16:30 +02:00
parent 341575a734
commit 0c8e75203e

View file

@ -70,6 +70,10 @@ function compile_fuzzer() {
echo "Building $fuzzer"
cd $path
# Install build dependencies
go install github.com/AdamKorcz/go-118-fuzz-build@latest
go get github.com/AdamKorcz/go-118-fuzz-build/testing
# Test if file contains a line with "func $function" and "testing.F".
if [ $(grep -r "func $function" $path | grep "testing.F" | wc -l) -eq 1 ]
then