summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJames O'Doherty <james@theodohertyfamily.com>2026-05-22 10:51:00 -0400
committerJames O'Doherty <james@theodohertyfamily.com>2026-05-22 10:51:00 -0400
commitcefff85a054d64f124aa1f3e91b9425695aa210b (patch)
tree4ad2df3ba37a52ee246da327c310aabaecb2b896 /Makefile
parent9131b0004e7c640cc028179e1d049a4c62210d94 (diff)
Update Makefile and README to standardize build/test process and lauch fuzzer
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 4 insertions, 7 deletions
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