Pārlūkot izejas kodu

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>
Vincent Demeester 8 gadi atpakaļ
vecāks
revīzija
aefbc03444
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      hack/make/.integration-test-helpers

+ 1 - 0
hack/make/.integration-test-helpers

@@ -24,6 +24,7 @@ go_test_dir() {
 	testcover=()
 	testcover=()
 	testcoverprofile=()
 	testcoverprofile=()
 	(
 	(
+		set -e
 		mkdir -p "$DEST/coverprofiles"
 		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
 		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
 		if [ -z $precompiled ]; then