etcd/test.sh

16 lines
278 B
Bash
Raw Normal View History

2013-07-30 02:57:37 +04:00
#!/bin/sh
2013-10-17 20:02:59 +04:00
set -e
# Unit tests
2013-10-18 04:11:11 +04:00
echo "-- UNIT TESTS --"
go test -v ./server/v2/tests
go test -v ./store
2013-10-15 00:20:50 +04:00
2013-10-18 04:11:11 +04:00
# Get GOPATH, etc from build
echo "-- BUILDING BINARY --"
. ./build
# Functional tests
2013-10-18 04:11:11 +04:00
echo "-- FUNCTIONAL TESTS --"
ETCD_BIN_PATH=$(PWD)/etcd go test -v ./tests/functional