Browse Source

test: build test binary for etcdctl

fanmin shi 8 years ago
parent
commit
edd298f85a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      test

+ 1 - 0
test

@@ -300,6 +300,7 @@ function build_cov_pass {
 	PKGS=$TEST
 	ETCD_PKGS_DELIM=$(echo $PKGS | sed 's/ /,/g')
 	go test -c -covermode=set -coverpkg=$ETCD_PKGS_DELIM -o ${out}/etcd_test
+	go test -tags cov -c -covermode=set -coverpkg=$ETCD_PKGS_DELIM -o ${out}/etcdctl_test ${REPO_PATH}/etcdctl/
 }
 
 function compile_pass {