Skip to content

Commit

Permalink
ci: Add testing replacement (#935)
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 authored Mar 3, 2024
1 parent 3976394 commit 4f3f95b
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 4f3f95b

Please sign in to comment.