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:
Miek Gieben
2019-08-26 08:15:05 +00:00
committed by GitHub
parent d65cd709cd
commit 8bc4b85b1f
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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/