diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -9,7 +9,11 @@ LAUNCHER_SRC = internal/namespace/launcher_src/launcher.c LAUNCHER_BIN = internal/namespace/launcher.bin BINARY = wg-wrap -.PHONY: all clean test +# Fuzzing settings +FUZZ_PARALLEL ?= 2 +FUZZ_TIME ?= 30s + +.PHONY: all clean test fuzz # Default target: build the final binary all: $(BINARY) @@ -30,3 +34,7 @@ test: all clean: rm -f $(BINARY) $(LAUNCHER_BIN) find . -name "*.test" -delete + +# Run fuzzing tests +fuzz: all + go test -v -fuzz=FuzzArgumentIntegrity -parallel $(FUZZ_PARALLEL) -fuzztime=$(FUZZ_TIME) ./tests/e2e/fuzz_args_test.go |
