Add event-based debugging output.

This commit is contained in:
Ben Johnson
2013-12-23 16:01:05 -07:00
parent 3bd2d0da88
commit 4acfc26c5e
2 changed files with 36 additions and 2 deletions

View File

@@ -5,6 +5,10 @@ if [ -z "$PKG" ]; then
PKG="./store ./server ./server/v2/tests ./mod/lock/v2/tests"
fi
if [ -z "$RUN" ]; then
RUN="."
fi
# Get GOPATH, etc from build
. ./build
@@ -15,9 +19,9 @@ export GOPATH="${PWD}"
for i in $PKG
do
go test -i $i
go test -v $i
go test -v -test.run=$RUN $i
done
# Functional tests
go test -i ./tests/functional
ETCD_BIN_PATH=$(pwd)/etcd go test -v ./tests/functional
ETCD_BIN_PATH=$(pwd)/etcd go test -v -test.run=$RUN ./tests/functional