Skip to content

Commit f5c7eac

Browse files
committed
adds a make test-cover rule
1 parent f84a6cb commit f5c7eac

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

GNUmakefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ count ?= 1
6868
test: $(GO-DEPS)
6969
go test$(if $v, -v) -vet=off .
7070

71+
test-cover: $(GO-DEPS)
72+
go test$(if $v, -v) ./... --cover
73+
7174
test-data: $(YTS-DIR)
7275

7376
test-all: test test-yts-all

0 commit comments

Comments
 (0)