aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Yong Tang <yong.tang.github@outlook.com> 2017-08-19 14:14:44 -0700
committerGravatar Miek Gieben <miek@miek.nl> 2017-08-19 22:14:44 +0100
commit9068f4f56591df732a2d6090f5ca0b9a97ae114a (patch)
tree7358be08f15d621ab58f6d42a97ec0413cafc123 /Makefile
parenta682f73b5cbfb693bfb87daf94732b41dbb5b540 (diff)
downloadcoredns-9068f4f56591df732a2d6090f5ca0b9a97ae114a.tar.gz
coredns-9068f4f56591df732a2d6090f5ca0b9a97ae114a.tar.zst
coredns-9068f4f56591df732a2d6090f5ca0b9a97ae114a.zip
Use `go test -i` to install all prerequisite packages (#954)
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7cdf20fc5..1f11e64c4 100644
--- a/Makefile
+++ b/Makefile
@@ -44,7 +44,8 @@ endif
ifeq ($(TEST_TYPE),coverage)
for d in `go list ./... | grep -v vendor`; do \
t=$$(date +%s); \
- go test -v -tags 'etcd k8s' -coverprofile=cover.out -covermode=atomic $$d || exit 1; \
+ go test -i -tags 'etcd k8s' -coverprofile=cover.out -covermode=atomic $$d || exit 1; \
+ go test -v -tags 'etcd k8s' -coverprofile=cover.out -covermode=atomic $$d || exit 1; \
echo "Coverage test $$d took $$(($$(date +%s)-t)) seconds"; \
if [ -f cover.out ]; then \
cat cover.out >> coverage.txt; \