mirror of
https://github.com/sorintlab/stolon.git
synced 2024-10-04 03:27:12 +03:00
21 lines
347 B
Bash
Executable File
21 lines
347 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
BASEDIR=$(readlink -f $(dirname $0))
|
|
BINDIR=${BASEDIR}/bin
|
|
|
|
if [ $PWD != $BASEDIR ]; then
|
|
cd $BASEDIR
|
|
fi
|
|
|
|
source ./build
|
|
|
|
export STKEEPER_BIN=${BINDIR}/stolon-keeper
|
|
export STSENTINEL_BIN=${BINDIR}/stolon-sentinel
|
|
export STPROXY_BIN=${BINDIR}/stolon-proxy
|
|
|
|
|
|
echo "Running integration tests..."
|
|
go test -v ./tests/integration
|