test: fix "functional-tester" build script

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
This commit is contained in:
Gyuho Lee 2018-03-08 01:29:57 -08:00
parent 290fa0c1be
commit 028f99b103

6
test
View File

@ -15,14 +15,14 @@ set -e
source ./build
# build tests with vendored dependencies
etcd_setup_gopath
# build before setting up test GOPATH
if [[ "${PASSES}" == *"functional"* ]]; then
./tools/functional-tester/build
fi
# build tests with vendored dependencies
etcd_setup_gopath
if [ -z "$PASSES" ]; then
PASSES="fmt dep compile build unit"
fi