Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
parent
dd2a7122c2
commit
ae7209c334
2 changed files with 7 additions and 2 deletions
|
@ -36,7 +36,7 @@ local testing(version, arch) = {
|
|||
name: "fuzz",
|
||||
image: "golang:" + version,
|
||||
commands: [
|
||||
"make fuzz",
|
||||
"make fuzz-ci",
|
||||
],
|
||||
depends_on: [
|
||||
"lint",
|
||||
|
|
|
@ -62,7 +62,12 @@ test-ci:
|
|||
fuzz: $(TEST_SOURCES)
|
||||
$(TEST) -fuzz=FuzzFlags -fuzztime 10000x ./cli
|
||||
$(TEST) -fuzz=FuzzDig -fuzztime 10000x ./cli
|
||||
$(TEST) -fuzz=FuzzParseArgs -fuzztime 5000x ./cli
|
||||
$(TEST) -fuzz=FuzzParseArgs -fuzztime 10000x ./cli
|
||||
|
||||
fuzz-ci: $(TEST_SOURCES)
|
||||
$(TEST) -fuzz=FuzzFlags -fuzztime 1000x ./cli
|
||||
$(TEST) -fuzz=FuzzDig -fuzztime 1000x ./cli
|
||||
$(TEST) -fuzz=FuzzParseArgs -fuzztime 1000x ./cli
|
||||
|
||||
.PHONY: full_test
|
||||
full_test: test fuzz
|
||||
|
|
Loading…
Reference in a new issue