Revision 5d865e321cafe4e1191f9e8a3983a9b663360364 authored by Ben Johnson on 05 December 2013, 05:36:53 UTC, committed by Ben Johnson on 05 December 2013, 05:36:53 UTC
Conflicts:
	server/v2/tests/delete_handler_test.go
	server/v2/tests/get_handler_test.go
	server/v2/tests/post_handler_test.go
	server/v2/tests/put_handler_test.go
	third_party/github.com/coreos/go-etcd/etcd/requests.go
2 parent s e76b7d1 + 618def7
Raw File
test.sh
#!/bin/sh
set -e

if [ -z "$PKG" ]; then
    PKG="./store ./server ./server/v2/tests ./mod/lock/v2/tests"
fi

# Get GOPATH, etc from build
. ./build

# use right GOPATH
export GOPATH="${PWD}"

# Unit tests
for i in $PKG
do
    go test -i $i
    go test -v $i
done

# Functional tests
go test -i ./tests/functional
ETCD_BIN_PATH=$(pwd)/etcd go test -v ./tests/functional
back to top