From 09597ccf1693b1ac7999030c1a2c37d9373dfe7b Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Mon, 5 Feb 2018 22:58:51 +0100 Subject: include subpackages in coverage test --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 05fcf20..35b939b 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ static-tests: FORCE cover.out: FORCE @echo '>> go test...' - @go test -cover -coverprofile $@ + @go test -coverpkg github.com/majewsky/schwift/... -coverprofile $@ cover.html: cover.out @echo '>> rendering cover.html...' @go tool cover -html=$< -o $@ -- cgit v1.2.3