From 3b56ccecf46b83fa9b0e4b6c54be6ffda395910c Mon Sep 17 00:00:00 2001 From: James O'Doherty Date: Fri, 22 May 2026 11:12:21 -0400 Subject: Implement automatic namespace lifecycle cleanup with last-man-out reference counting --- Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index bcfe11c..02a1245 100644 --- a/Makefile +++ b/Makefile @@ -27,11 +27,16 @@ $(LAUNCHER_BIN): $(LAUNCHER_SRC) $(CC) $(CFLAGS) $(LAUNCHER_SRC) -o $(LAUNCHER_BIN) # Run tests -test: all +test: clean + $(MAKE) $(BINARY) @echo "Running tests with WG_WRAP_BIN=$(shell pwd)/$(BINARY)" WG_WRAP_BIN=$(shell pwd)/$(BINARY) go test -v ./... # Run fuzzing tests -fuzz: all +fuzz: clean + $(MAKE) $(BINARY) @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 + +clean: + rm -f $(BINARY) $(LAUNCHER_BIN) -- cgit v1.2.3