diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -5,6 +5,7 @@ export GOARCH = amd64 export CGO_CFLAGS = -I$(LIBBPFGO)/output -I$(LIBBPFGO)/selftest/common export CGO_LDFLAGS = -lelf -lzstd $(LIBBPFGO)/output/libbpf/libbpf.a export GO ?= go +export TEST_NAME ?= TestEventloop all: bpfbuild gobuild @@ -57,6 +58,11 @@ test: $(GO) clean -testcache $(GO) test ./... -v +.PHONY: test_specific +test_specific: + $(GO) clean -testcache + $(GO) test ./... -run ^$(TEST_NAME)$$ -v + .PHONY: bench bench: $(GO) test ./... -v -bench=. -run xxx |
