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
091137f85f
commit
341575a734
1 changed files with 2 additions and 0 deletions
|
|
@ -68,6 +68,7 @@ function compile_fuzzer() {
|
||||||
fuzzer=$3
|
fuzzer=$3
|
||||||
|
|
||||||
echo "Building $fuzzer"
|
echo "Building $fuzzer"
|
||||||
|
cd $path
|
||||||
|
|
||||||
# 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 ]
|
||||||
|
|
@ -84,6 +85,7 @@ function compile_fuzzer() {
|
||||||
cp $corpusfile $OUT/
|
cp $corpusfile $OUT/
|
||||||
echo "Found seed corpus: $corpusfile"
|
echo "Found seed corpus: $corpusfile"
|
||||||
fi
|
fi
|
||||||
|
cd -
|
||||||
}
|
}
|
||||||
|
|
||||||
compile_fuzzer tests/fuzzers/bitutil Fuzz fuzzBitutilCompress
|
compile_fuzzer tests/fuzzers/bitutil Fuzz fuzzBitutilCompress
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue