mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Add v2 unit tests.
This commit is contained in:
12
test.sh
12
test.sh
@@ -1,11 +1,15 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
# Get GOPATH, etc from build
|
||||
. ./build
|
||||
|
||||
# Unit tests
|
||||
echo "-- UNIT TESTS --"
|
||||
go test -v ./server/v2/tests
|
||||
go test -v ./store
|
||||
|
||||
# Get GOPATH, etc from build
|
||||
echo "-- BUILDING BINARY --"
|
||||
. ./build
|
||||
|
||||
# Functional tests
|
||||
ETCD_BIN_PATH=$(pwd)/etcd go test -v ./tests/functional
|
||||
echo "-- FUNCTIONAL TESTS --"
|
||||
ETCD_BIN_PATH=$(PWD)/etcd go test -v ./tests/functional
|
||||
|
||||
Reference in New Issue
Block a user