From 079e4240534cbdc8751f1a127def20f2d1e58da6 Mon Sep 17 00:00:00 2001 From: James O'Doherty Date: Fri, 22 May 2026 11:20:24 -0400 Subject: Refactor lifecycle to support XDG_RUNTIME_DIR and fix binary pathing in E2E tests --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 02a1245..3dcd788 100644 --- a/Makefile +++ b/Makefile @@ -30,13 +30,13 @@ $(LAUNCHER_BIN): $(LAUNCHER_SRC) test: clean $(MAKE) $(BINARY) @echo "Running tests with WG_WRAP_BIN=$(shell pwd)/$(BINARY)" - WG_WRAP_BIN=$(shell pwd)/$(BINARY) go test -v ./... + WG_WRAP_BIN=$(shell pwd)/$(BINARY) go test -v -race ./... # Run fuzzing tests 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 + WG_WRAP_BIN=$(shell pwd)/$(BINARY) go test -v -race -fuzz=FuzzArgumentIntegrity -parallel $(FUZZ_PARALLEL) -fuzztime=$(FUZZ_TIME) ./tests/e2e/fuzz_args_test.go clean: rm -f $(BINARY) $(LAUNCHER_BIN) -- cgit v1.2.3