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
0c8e75203e
commit
a441e304d9
1 changed files with 2 additions and 2 deletions
|
|
@ -74,8 +74,8 @@ function compile_fuzzer() {
|
||||||
go install github.com/AdamKorcz/go-118-fuzz-build@latest
|
go install github.com/AdamKorcz/go-118-fuzz-build@latest
|
||||||
go get github.com/AdamKorcz/go-118-fuzz-build/testing
|
go get github.com/AdamKorcz/go-118-fuzz-build/testing
|
||||||
|
|
||||||
# Test if file contains a line with "func $function" and "testing.F".
|
# 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 ]
|
if [ $(grep -r "func $function(" $path | grep "testing.F" | wc -l) -eq 1 ]
|
||||||
then
|
then
|
||||||
build_native_go_fuzzer $fuzzer $function $path
|
build_native_go_fuzzer $fuzzer $function $path
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue