浏览代码

Merge pull request #29195 from vdemeester/integration-test-shell-dont-run-if-compilation-failure

Make sure we don't run integration cli test if compilation fails
Brian Goff 8 年之前
父节点
当前提交
8b7d076425
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      hack/make/.integration-test-helpers

+ 1 - 0
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