File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 22GOFMT ?= gofmt
33V ?=
44PREFIX ?= /usr/local
5- PKGS = $(shell go list ./... | grep -v vendor)
6- SUBPKGS = $(shell go list ./... | sed '1d' | tr '\n' ',' | sed 's/,$$//1')
5+ PKGS = $(shell go list ./... | tr '\n' ',' | head -c -1)
76PKGNAME = mender-artifact
87PKGFILES = $(shell find . \( -path ./vendor -o -path ./Godeps \) -prune \
98 -o -type f -name '*.go' -print)
@@ -146,7 +145,7 @@ instrument-binary:
146145
147146coverage :
148147 rm -f coverage.txt
149- go test -tags ' $(TAGS)' -covermode=atomic -coverprofile=coverage.txt ./...
148+ go test -tags ' $(TAGS)' -covermode=atomic -coverpkg= $( PKGS ) - coverprofile=coverage.txt ./...
150149
151150.PHONY : build clean get-tools test check \
152151 cover htmlcover coverage tooldep install-autocomplete-scripts \
You can’t perform that action at this time.
0 commit comments