Add mod/lock connection monitoring.

This commit is contained in:
Ben Johnson
2013-12-04 16:23:27 -07:00
parent df20be775c
commit f3d438a93f
2 changed files with 76 additions and 25 deletions

10
test.sh
View File

@@ -1,7 +1,9 @@
#!/bin/sh
set -e
PKGS="./store ./server ./server/v2/tests ./mod/lock/tests"
if [ -z "$PKG" ]; then
PKG="./store ./server ./server/v2/tests ./mod/lock/tests"
fi
# Get GOPATH, etc from build
. ./build
@@ -10,10 +12,10 @@ PKGS="./store ./server ./server/v2/tests ./mod/lock/tests"
export GOPATH="${PWD}"
# Unit tests
for PKG in $PKGS
for i in $PKG
do
go test -i $PKG
go test -v $PKG
go test -i $i
go test -v $i
done
# Functional tests