From 3c9b4e52df58e705eb9927d18fdfaf9daa5b1541 Mon Sep 17 00:00:00 2001 From: Travis Nielsen Date: Tue, 18 Oct 2016 09:01:42 -0700 Subject: [PATCH] print code coverage with tests --- build/makelib/golang.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/makelib/golang.mk b/build/makelib/golang.mk index fa9eea2ab..cd1e09e57 100644 --- a/build/makelib/golang.mk +++ b/build/makelib/golang.mk @@ -115,7 +115,7 @@ go.install: go.vet go.fmt $(CGO_PREREQS) go.test: go.vet go.fmt $(CGO_PREREQS) # this is disabled since it looks like there's a bug in go test where it attempts to install cmd/cgo # @$(GOHOST) test -v -i $(GO_PKG_FLAGS) $(GO_TOOL_FLAGS) $(GO_ALL_PACKAGES) - @$(GOHOST) test $(GO_PKG_FLAGS) $(GO_TOOL_FLAGS) $(GO_ALL_PACKAGES) + @$(GOHOST) test -cover $(GO_PKG_FLAGS) $(GO_TOOL_FLAGS) $(GO_ALL_PACKAGES) .PHONY: go.vet go.vet: