diff options
author | 2017-08-19 12:02:43 -0700 | |
---|---|---|
committer | 2017-08-19 20:02:43 +0100 | |
commit | ee14993f7d3c6d9773165d8d3097f3de7012238b (patch) | |
tree | 347663e6ab86da0ed3a5f2ac785633467a1b383a | |
parent | 60c83fefac38ab453435a2c3d28948c518258661 (diff) | |
download | coredns-ee14993f7d3c6d9773165d8d3097f3de7012238b.tar.gz coredns-ee14993f7d3c6d9773165d8d3097f3de7012238b.tar.zst coredns-ee14993f7d3c6d9773165d8d3097f3de7012238b.zip |
Add `time` in coverage test (#951)
For profiling the time spent in Travis CI.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -43,7 +43,7 @@ ifeq ($(TEST_TYPE),middleware) endif ifeq ($(TEST_TYPE),coverage) for d in `go list ./... | grep -v vendor`; do \ - go test -v -tags 'etcd k8s' -coverprofile=cover.out -covermode=atomic $$d || exit 1; \ + time go test -v -tags 'etcd k8s' -coverprofile=cover.out -covermode=atomic $$d || exit 1; \ if [ -f cover.out ]; then \ cat cover.out >> coverage.txt; \ rm cover.out; \ |