mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
oss-fuzz: try fixing build
This commit is contained in:
parent
341575a734
commit
0c8e75203e
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue