mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 00:34:24 -04:00
fuzz: use new fuzzit (#3193)
Upgrade to new version and add if-not-exists to the cmdline Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
2
Makefile
2
Makefile
@@ -55,7 +55,7 @@ ifeq ($(TEST_TYPE),fuzzit)
|
|||||||
LIBFUZZER=YES $(MAKE) -f Makefile.fuzz all; \
|
LIBFUZZER=YES $(MAKE) -f Makefile.fuzz all; \
|
||||||
$(MAKE) -sf Makefile.fuzz fuzzit; \
|
$(MAKE) -sf Makefile.fuzz fuzzit; \
|
||||||
for i in `$(MAKE) -sf Makefile.fuzz echo`; do echo $$i; \
|
for i in `$(MAKE) -sf Makefile.fuzz echo`; do echo $$i; \
|
||||||
./fuzzit create job --type $(FUZZIT_TYPE) coredns/$$i ./$$i; \
|
./fuzzit create job --if-not-exists --type $(FUZZIT_TYPE) coredns/$$i ./$$i; \
|
||||||
done; \
|
done; \
|
||||||
fi;
|
fi;
|
||||||
endif
|
endif
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
# GO111MODULE=off go get github.com/dvyukov/go-fuzz/go-fuzz-build
|
# GO111MODULE=off go get github.com/dvyukov/go-fuzz/go-fuzz-build
|
||||||
|
|
||||||
REPO:="github.com/coredns/coredns"
|
REPO:="github.com/coredns/coredns"
|
||||||
FUZZIT:=v2.4.28
|
FUZZIT:=v2.4.35
|
||||||
# set LIBFUZZER=YES to build libfuzzer compatible targets
|
# set LIBFUZZER=YES to build libfuzzer compatible targets
|
||||||
|
|
||||||
FUZZ:=$(dir $(wildcard plugin/*/fuzz.go)) # plugin/cache/
|
FUZZ:=$(dir $(wildcard plugin/*/fuzz.go)) # plugin/cache/
|
||||||
|
|||||||
Reference in New Issue
Block a user