From cefff85a054d64f124aa1f3e91b9425695aa210b Mon Sep 17 00:00:00 2001 From: James O'Doherty Date: Fri, 22 May 2026 10:51:00 -0400 Subject: Update Makefile and README to standardize build/test process and lauch fuzzer --- Makefile | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1982545..bcfe11c 100644 --- a/Makefile +++ b/Makefile @@ -28,13 +28,10 @@ $(LAUNCHER_BIN): $(LAUNCHER_SRC) # Run tests test: all - go test -v ./... - -# Clean up all artifacts -clean: - rm -f $(BINARY) $(LAUNCHER_BIN) - find . -name "*.test" -delete + @echo "Running tests with WG_WRAP_BIN=$(shell pwd)/$(BINARY)" + WG_WRAP_BIN=$(shell pwd)/$(BINARY) go test -v ./... # Run fuzzing tests fuzz: all - go test -v -fuzz=FuzzArgumentIntegrity -parallel $(FUZZ_PARALLEL) -fuzztime=$(FUZZ_TIME) ./tests/e2e/fuzz_args_test.go + @echo "Running fuzzing with WG_WRAP_BIN=$(shell pwd)/$(BINARY)" + WG_WRAP_BIN=$(shell pwd)/$(BINARY) go test -v -fuzz=FuzzArgumentIntegrity -parallel $(FUZZ_PARALLEL) -fuzztime=$(FUZZ_TIME) ./tests/e2e/fuzz_args_test.go -- cgit v1.2.3