summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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