]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
run-make-check.sh: Make sure a build failure will exit 38297/head
authorBrad Hubbard <bhubbard@redhat.com>
Thu, 26 Nov 2020 05:30:55 +0000 (15:30 +1000)
committerBrad Hubbard <bhubbard@redhat.com>
Thu, 26 Nov 2020 05:32:35 +0000 (15:32 +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>
run-make-check.sh

index b23f1221d46fc1077506316b6f3270a7def8e887..3a7451c54e7f063c69a972e247a4c57e714d5193 100755 (executable)
@@ -64,7 +64,8 @@ function main() {
         cmake_opts+=" -DWITH_ZBD=ON"
     fi
     configure $cmake_opts $@
-    build tests && echo "make check: successful build on $(git rev-parse HEAD)"
+    build tests
+    echo "make check: successful build on $(git rev-parse HEAD)"
     run
 }