Skip to content

Commit

Permalink
[FAB-4412] revert gocov html report
Browse files Browse the repository at this point in the history
Change-Id: I742bed10f7a48cc0b24c19df799e9087bfce00a2
Signed-off-by: rameshthoomu <[email protected]>
  • Loading branch information
rameshthoomu committed Jun 6, 2017
1 parent 8b44609 commit 1e9a087
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions gotools/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ OBJDIR ?= build
TMP_GOPATH=$(OBJDIR)/gopath
GOBIN=$(abspath $(TMP_GOPATH)/bin)

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

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

install: $(GOTOOLS_BIN)
Expand Down
2 changes: 1 addition & 1 deletion unit-test/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,5 @@ echo " DONE!"

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

0 comments on commit 1e9a087

Please sign in to comment.