Browse code

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 authored on 2016/12/07 07:30:07
Showing 1 changed files
... ...
@@ -24,6 +24,7 @@ go_test_dir() {
24 24
 	testcover=()
25 25
 	testcoverprofile=()
26 26
 	(
27
+		set -e
27 28
 		mkdir -p "$DEST/coverprofiles"
28 29
 		export DEST="$ABS_DEST" # in a subshell this is safe -- our integration-cli tests need DEST, and "cd" screws it up
29 30
 		if [ -z $precompiled ]; then