tests(test.sh) open race option

release-0.4
Xiang Li 2014-04-11 19:49:41 -04:00
parent fc84da29e8
commit dce461dbd7
1 changed files with 7 additions and 7 deletions

14
test.sh
View File

@ -3,28 +3,28 @@
. ./build
go test -i ./http
go test -v ./http
go test -v ./http -race
go test -i ./store
go test -v ./store
go test -v ./store -race
go test -i ./server
go test -v ./server
go test -v ./server -race
go test -i ./config
go test -v ./config
go test -v ./config -race
go test -i ./server/v1/tests
go test -v ./server/v1/tests
go test -v ./server/v1/tests -race
go test -i ./server/v2/tests
go test -v ./server/v2/tests
go test -v ./server/v2/tests -race
go test -i ./mod/lock/v2/tests
go test -v ./mod/lock/v2/tests
go test -i ./tests/functional
ETCD_BIN_PATH=$(pwd)/bin/etcd go test -v ./tests/functional
ETCD_BIN_PATH=$(pwd)/bin/etcd go test -v ./tests/functional -race
fmtRes=`gofmt -l $GOFMTPATH`
if [ "$fmtRes" != "" ]; then