Sfoglia il codice sorgente

fix use right gopath

Xiang Li 12 anni fa
parent
commit
a6f7069264
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  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