Make sure we don't run integration cli test if compilation fails

Otherwise, while using test-integration-shell, it runs the tests using
the previously compiled test binary.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Upstream-commit: aefbc034445df17c98f1247b100e2b6a2ed22e84
Component: engine
This commit is contained in:
Vincent Demeester
2016-12-06 23:30:07 +01:00
parent d262373ee7
commit ea74b6e388

View File

@ -24,6 +24,7 @@ go_test_dir() {
testcover=()
testcoverprofile=()
(
set -e
mkdir -p "$DEST/coverprofiles"
export DEST="$ABS_DEST" # in a subshell this is safe -- our integration-cli tests need DEST, and "cd" screws it up
if [ -z $precompiled ]; then