diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2020-03-12 21:18:58 +0100 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2020-03-12 21:18:58 +0100 |
commit | d727de62e14a48ef5da16d034549a76909303209 (patch) | |
tree | f6d49e4cae6d1c1f74f1b42562a0cd15564198cd | |
parent | 9922993eb208c2c615a95c4c4a795323c2406963 (diff) |
integration_test.sh supports other build directories then ${SOURCE_ROOT}/src/ptunnel-ng
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
-rwxr-xr-x | test/integration_test.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration_test.sh b/test/integration_test.sh index 9ff45a3..32adb89 100755 --- a/test/integration_test.sh +++ b/test/integration_test.sh @@ -5,8 +5,8 @@ set -x set -o pipefail -SRC_ROOT=$(realpath $(dirname $0)/..) -PTUNNEL_BIN=${PTUNNEL_BIN:-${SRC_ROOT}/src/ptunnel-ng} +BIN_ROOT="${BIN_ROOT:-$(realpath $(dirname $0)/..)}" +PTUNNEL_BIN=${PTUNNEL_BIN:-${BIN_ROOT}/src/ptunnel-ng} PTUNNEL_ARGS="${PTUNNEL_ARGS:-}" VALGRIND_BIN=${VALGRIND_BIN:-valgrind} VALGRIND_ARGS="--error-exitcode=1 --exit-on-first-error=yes" |