diff options
| author | Paul Buetow <paul@buetow.org> | 2025-04-15 17:29:07 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-04-15 17:29:07 +0300 |
| commit | 24753df2d21112ea1ddc6498b521f7f42dd7c708 (patch) | |
| tree | 1154f41153a96a55f4465489cc812afe5c96d2f8 /Makefile | |
| parent | 12759c56082abcc6b0eb70b5a5981e9ca61faa08 (diff) | |
more on testing
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 |
