Skip to content

Commit 1e9a087

Browse files
committed
[FAB-4412] revert gocov html report
Change-Id: I742bed10f7a48cc0b24c19df799e9087bfce00a2 Signed-off-by: rameshthoomu <[email protected]>
1 parent 8b44609 commit 1e9a087

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

gotools/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ OBJDIR ?= build
1818
TMP_GOPATH=$(OBJDIR)/gopath
1919
GOBIN=$(abspath $(TMP_GOPATH)/bin)
2020

21-
GOTOOLS = golint govendor goimports protoc-gen-go ginkgo gocov gocov-html misspell
21+
GOTOOLS = golint govendor goimports protoc-gen-go ginkgo gocov gocov-xml misspell
2222
GOTOOLS_BIN = $(patsubst %,$(GOBIN)/%, $(GOTOOLS))
2323

2424
# go tool->path mapping
@@ -28,7 +28,7 @@ go.fqp.goimports := golang.org/x/tools/cmd/goimports
2828
go.fqp.ginkgo := github.com/onsi/ginkgo/ginkgo
2929
go.fqp.gocov := github.com/axw/gocov/...
3030
go.fqp.misspell := github.com/client9/misspell/cmd/misspell
31-
go.fqp.gocov-html:= github.com/matm/gocov-html
31+
go.fqp.gocov-xml:= github.com/AlekSi/gocov-xml
3232
all: $(GOTOOLS_BIN)
3333

3434
install: $(GOTOOLS_BIN)

unit-test/run.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,5 +76,5 @@ echo " DONE!"
7676

7777
echo "Running tests..."
7878
#go test -cover -ldflags "$GO_LDFLAGS" $PKGS -p 1 -timeout=20m
79-
gocov test -ldflags "$GO_LDFLAGS" $PKGS -p 1 -timeout=20m | gocov-html > report.html
79+
gocov test -ldflags "$GO_LDFLAGS" $PKGS -p 1 -timeout=20m | gocov-xml > report.xml
8080
fi

0 commit comments

Comments
 (0)