diff options
author | 2017-08-19 14:14:44 -0700 | |
---|---|---|
committer | 2017-08-19 22:14:44 +0100 | |
commit | 9068f4f56591df732a2d6090f5ca0b9a97ae114a (patch) | |
tree | 7358be08f15d621ab58f6d42a97ec0413cafc123 /Makefile | |
parent | a682f73b5cbfb693bfb87daf94732b41dbb5b540 (diff) | |
download | coredns-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-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; \ |