mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Add mod/lock connection monitoring.
This commit is contained in:
10
test.sh
10
test.sh
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user