From 8e07c63c54c24a51ba39a78f8361d864ca3b8e98 Mon Sep 17 00:00:00 2001 From: Alvin Huang Date: Tue, 9 Apr 2019 16:05:52 -0400 Subject: [PATCH] removing gocov packages (#5534) * removing gocov packages * revise cov make target --- GNUmakefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index c7a77bc03b..93b1c56330 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -5,8 +5,6 @@ GOTOOLS = \ github.com/mitchellh/gox \ golang.org/x/tools/cmd/cover \ golang.org/x/tools/cmd/stringer \ - github.com/axw/gocov/gocov \ - gopkg.in/matm/v1/gocov-html \ github.com/gogo/protobuf/protoc-gen-gofast \ github.com/vektra/mockery/cmd/mockery @@ -143,8 +141,8 @@ dev-tree: @$(SHELL) $(CURDIR)/build-support/scripts/dev.sh $(DEV_PUSH_ARG) cov: - gocov test $(GOFILES) | gocov-html > /tmp/coverage.html - open /tmp/coverage.html + go test ./... -coverprofile=coverage.out + go tool cover -html=coverage.out test: other-consul dev-build vet test-install-deps test-internal