Fix fuzz testing command in Makefile to correctly match fuzz targets
This commit is contained in:
parent
34101cf686
commit
c54a6ccd3a
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -82,7 +82,7 @@ fuzz: ## Run Go fuzz tests for $(FUZZTIME)
|
|||
fi; \
|
||||
for fz in $$FUZZES; do \
|
||||
echo "==> Fuzzing $$pkg :: $$fz for $(FUZZTIME)"; \
|
||||
$(GO) test -run=NONE -fuzz="^$$fz$" -fuzztime=$(FUZZTIME) $$pkg; \
|
||||
$(GO) test -run=NONE -fuzz=^$${fz}$$ -fuzztime=$(FUZZTIME) $$pkg; \
|
||||
done; \
|
||||
done
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue