fix use right gopath

release-0.4
Xiang Li 2013-10-17 20:57:00 -07:00
parent 4135f425d3
commit a6f7069264
1 changed files with 5 additions and 0 deletions

View File

@ -4,8 +4,13 @@ set -e
# Get GOPATH, etc from build
. ./build
# use right GOPATH
export GOPATH="${PWD}"
# Unit tests
go test -i ./store
go test -v ./store
# Functional tests
go test -i ./tests/functional
ETCD_BIN_PATH=$(pwd)/etcd go test -v ./tests/functional