瀏覽代碼

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

fix use right gopath
Xiang Li 12 年之前
父節點
當前提交
97987e72a7
共有 1 個文件被更改,包括 5 次插入0 次删除
  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