mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Revert test.sh changes.
This commit is contained in:
parent
b47042634a
commit
8d25dac1ba
8
test.sh
8
test.sh
@ -5,10 +5,6 @@ if [ -z "$PKG" ]; then
|
|||||||
PKG="./store ./server ./server/v2/tests ./mod/lock/v2/tests"
|
PKG="./store ./server ./server/v2/tests ./mod/lock/v2/tests"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$RUN" ]; then
|
|
||||||
RUN="."
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Get GOPATH, etc from build
|
# Get GOPATH, etc from build
|
||||||
. ./build
|
. ./build
|
||||||
|
|
||||||
@ -19,9 +15,9 @@ export GOPATH="${PWD}"
|
|||||||
for i in $PKG
|
for i in $PKG
|
||||||
do
|
do
|
||||||
go test -i $i
|
go test -i $i
|
||||||
go test -v -test.run=$RUN $i
|
go test -v $i
|
||||||
done
|
done
|
||||||
|
|
||||||
# Functional tests
|
# Functional tests
|
||||||
go test -i ./tests/functional
|
go test -i ./tests/functional
|
||||||
ETCD_BIN_PATH=$(pwd)/etcd go test -v -test.run=$RUN ./tests/functional
|
ETCD_BIN_PATH=$(pwd)/etcd go test -v ./tests/functional
|
||||||
|
Loading…
x
Reference in New Issue
Block a user