Skip to content

Commit

Permalink
ci: Add testing replacement
Browse files Browse the repository at this point in the history
Replace until AdamKorcz/go-118-fuzz-build#24 is merged.
  • Loading branch information
klauspost committed Mar 3, 2024
1 parent 4d78e54 commit 37512d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ossfuzz/ossfuzz.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ sed -i 's/dicts = readDicts(f, zr)/dicts = fuzzDicts/g' "${SRC}"/compress/zstd/f

if [ "$SANITIZER" != "coverage" ]; then
sed -i 's/\"testing\"/\"github.com\/AdamKorcz\/go-118-fuzz-build\/testing\"/g' "${SRC}"/compress/internal/fuzz/helpers.go
printf "\n\nreplace github.com/AdamKorcz/go-118-fuzz-build => github.com/klauspost/go-118-fuzz-build d5f2eff5a9ec105b249e0bb1a24c1725330ed424\n" >> go.mod
fi

# OSS-Fuzz uses 'go build' to build the fuzzers, so we move the tests
Expand Down

0 comments on commit 37512d6

Please sign in to comment.