From f6cb732fff815dbaac6835d5612f87b06ca6230a Mon Sep 17 00:00:00 2001 From: Gyuho Lee Date: Mon, 9 Apr 2018 11:54:12 -0700 Subject: [PATCH] build: fix tools/build tests Signed-off-by: Gyuho Lee --- build | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/build b/build index 99357c15e..a7f8ba86d 100755 --- a/build +++ b/build @@ -67,13 +67,14 @@ etcd_build() { tools_build() { out="bin" if [[ -n "${BINDIR}" ]]; then out="${BINDIR}"; fi - tools_path="benchmark - etcd-dump-db - etcd-dump-logs - functional-tester/cmd/etcd-agent - functional-tester/cmd/etcd-tester - functional-tester/cmd/etcd-runner - local-tester/bridge" + tools_path="tools/benchmark + tools/etcd-dump-db + tools/etcd-dump-logs + tools/local-tester/bridge + functional/cmd/etcd-agent + functional/cmd/etcd-proxy + functional/cmd/etcd-runner + functional/cmd/etcd-tester" for tool in ${tools_path} do echo "Building" "'${tool}'"... @@ -81,7 +82,7 @@ tools_build() { CGO_ENABLED=0 go build ${GO_BUILD_FLAGS} \ -installsuffix cgo \ -ldflags "${GO_LDFLAGS}" \ - -o "${out}/${tool}" "${REPO_PATH}/tools/${tool}" || return + -o "${out}/${tool}" "${REPO_PATH}/${tool}" || return done }