Skip to content

Commit 3de6ee9

Browse files
author
Mladen Rusev
committed
VC-42286-add-total-%-cov
* add line to print total coverage in test-unit
1 parent 9c6ad9d commit 3de6ee9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

make/test-unit.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ test-unit: | $(NEEDS_GO) $(NEEDS_GOTESTSUM) $(ARTIFACTS) $(NEEDS_ETCD) $(NEEDS_K
1111
-- \
1212
-ldflags $(go_preflight_ldflags)
1313

14+
$(GO) tool cover -func=$(ARTIFACTS)/filtered.cov
1415
$(GO) tool cover -html=$(ARTIFACTS)/filtered.cov -o=$(ARTIFACTS)/filtered.html

0 commit comments

Comments
 (0)