mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
20 lines
317 B
Bash
Executable File
20 lines
317 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
# Get GOPATH, etc from build
|
|
. ./build
|
|
|
|
# use right GOPATH
|
|
export GOPATH="${PWD}"
|
|
|
|
# Unit tests
|
|
go test -i ./server/v2/tests
|
|
go test -v ./server/v2/tests
|
|
|
|
go test -i ./store
|
|
go test -v ./store
|
|
|
|
# Functional tests
|
|
go test -i ./tests/functional
|
|
ETCD_BIN_PATH=$(pwd)/etcd go test -v ./tests/functional
|