aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index decd960..a7cd5e7 100644
--- a/Makefile
+++ b/Makefile
@@ -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