From aefbc034445df17c98f1247b100e2b6a2ed22e84 Mon Sep 17 00:00:00 2001 From: Vincent Demeester Date: Tue, 6 Dec 2016 23:30:07 +0100 Subject: [PATCH] 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 --- hack/make/.integration-test-helpers | 1 + 1 file changed, 1 insertion(+) diff --git a/hack/make/.integration-test-helpers b/hack/make/.integration-test-helpers index 1da4137b9d..f81a9ccda5 100644 --- a/hack/make/.integration-test-helpers +++ b/hack/make/.integration-test-helpers @@ -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