aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorStefan Majewsky <majewsky@gmx.net>2026-04-24 15:46:24 +0200
committerStefan Majewsky <majewsky@gmx.net>2026-04-24 16:10:09 +0200
commite45a8be0dcfc375963a061d83e04429995053da1 (patch)
tree55a5f39180be3d289ccbd1f406022d3a72c13034 /Makefile
parent027641ef9efec9ed5dfc463d9c2f38c32716d9b5 (diff)
downloadgo-oblast-e45a8be0dcfc375963a061d83e04429995053da1.tar.gz
exclude testhelpers from coverage testing
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 834305f..d364193 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@ static-check: FORCE
benchmark: FORCE
@cd benchmark && go test -bench . -benchmem .
-GO_COVERPKGS := $(shell go list ./... | tr '\n' , | sed 's/,$$//')
+GO_COVERPKGS := $(shell go list ./... | grep -vw testhelpers | tr '\n' , | sed 's/,$$//')
GO_TESTPKGS := $(shell go list -f '{{if or .TestGoFiles .XTestGoFiles}}{{.ImportPath}}{{end}}' ./...)
build/cover.out: FORCE