Skip to content

Commit

Permalink
Use full path for gotestcover.
Browse files Browse the repository at this point in the history
Needed to keep Jenkins happy. #200
  • Loading branch information
Tudor Golubenco committed Aug 13, 2015
1 parent 56a23e5 commit 364fb02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ testlong:
cover:
# gotestcover is needed to fetch coverage for multiple packages
go get github.com/pierrre/gotestcover
GOPATH=$(shell $(GODEP) path):$(GOPATH) gotestcover -coverprofile=profile.cov -covermode=count github.com/elastic/packetbeat/...
GOPATH=$(shell $(GODEP) path):$(GOPATH) $(GOPATH)/bin/gotestcover -coverprofile=profile.cov -covermode=count github.com/elastic/packetbeat/...
mkdir -p cover
$(GODEP) go tool cover -html=profile.cov -o cover/coverage.html

Expand Down

0 comments on commit 364fb02

Please sign in to comment.