Browse Source

Merge pull request #250 from xiangli-cmu/0.2-fix-test

fix use right gopath
Xiang Li 12 years ago
parent
commit
97987e72a7
1 changed files with 5 additions and 0 deletions
  1. 5 0
      test.sh

+ 5 - 0
test.sh

@@ -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