]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
run-make-check.sh: Don't run tests if build fails
authorBrad Hubbard <bhubbard@redhat.com>
Thu, 26 Nov 2020 01:18:02 +0000 (11:18 +1000)
committerBrad Hubbard <bhubbard@redhat.com>
Fri, 27 Nov 2020 01:33:45 +0000 (11:33 +1000)
When run-make was taken out we lost the 'set -e' call and therefore
continue after an error.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
(cherry picked from commit 03ff2146f95c7e03a84df1f8c3b38bbbb315b708)

run-make-check.sh

index 94e37c49e96174548b5ac447d85d89ea665dd93b..7dffc549b3e82dbe59921bab506e6d4b0e14ef14 100755 (executable)
@@ -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)