]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
run-make-check.sh: Make sure a build failure will exit 38295/head
authorBrad Hubbard <bhubbard@redhat.com>
Thu, 26 Nov 2020 05:30:55 +0000 (15:30 +1000)
committerBrad Hubbard <bhubbard@redhat.com>
Fri, 27 Nov 2020 01:35:27 +0000 (11:35 +1000)
We 'set -e' but that is ignored because 'build tests' is executed in a
'&&' list (see 'man set') so move the echo to the following line.

Follow-up to 03ff2146f95

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

 Conflicts:
run-make-check.sh: cmake call differences and trivial logging
        output change.

run-make-check.sh

index 7dffc549b3e82dbe59921bab506e6d4b0e14ef14..1927c4594dd3bcca96d034ee47f638300272adf8 100755 (executable)
@@ -57,7 +57,8 @@ function main() {
     FOR_MAKE_CHECK=1 prepare
     # Init defaults after deps are installed.
     configure "-DWITH_GTEST_PARALLEL=ON -DWITH_FIO=ON -DWITH_SEASTAR=ON -DENABLE_GIT_VERSION=OFF $@"
-    build tests && echo "make check: successful run on $(git rev-parse HEAD)"
+    build tests
+    echo "make check: successful build on $(git rev-parse HEAD)"
     run
 }