From: Brad Hubbard Date: Thu, 26 Nov 2020 01:18:02 +0000 (+1000) Subject: run-make-check.sh: Don't run tests if build fails X-Git-Tag: v14.2.17~28^2~20^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=662c1cbbab3d2aea53bfccaed7945809779b5c5b;p=ceph.git run-make-check.sh: Don't run tests if build fails When run-make was taken out we lost the 'set -e' call and therefore continue after an error. Signed-off-by: Brad Hubbard (cherry picked from commit 03ff2146f95c7e03a84df1f8c3b38bbbb315b708) --- diff --git a/run-make-check.sh b/run-make-check.sh index 94e37c49e96..7dffc549b3e 100755 --- a/run-make-check.sh +++ b/run-make-check.sh @@ -20,6 +20,8 @@ source src/script/run-make.sh +set -e + function run() { # to prevent OSD EMFILE death on tests, make sure ulimit >= 1024 $DRY_RUN ulimit -n $(ulimit -Hn)