diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,4 +1,3 @@ -PKG=./... TEST=. BENCH=. COVERPROFILE=/tmp/c.out @@ -7,7 +6,7 @@ bench: benchpreq go test -v -test.bench=$(BENCH) ./.bench cover: fmt - go test -coverprofile=$(COVERPROFILE) . + go test -coverprofile=$(COVERPROFILE) -test.run=$(TEST) . go tool cover -html=$(COVERPROFILE) rm $(COVERPROFILE) @@ -15,6 +14,6 @@ fmt: @go fmt ./... test: fmt - @go test -v -cover -test.run=$(TEST) $(PKG) + @go test -v -cover -test.run=$(TEST) .PHONY: bench cover fmt test |
