summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f2477f7c4c..d39e51830d 100644
--- a/Makefile
+++ b/Makefile
@@ -80,6 +80,10 @@ integrations: build
.PHONY: test
test:
+ go test $(PACKAGES)
+
+.PHONY: test-coverage
+test-coverage:
for PKG in $(PACKAGES); do go test -cover -coverprofile $$GOPATH/src/$$PKG/coverage.out $$PKG || exit 1; done;
.PHONY: test-vendor