aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2017-09-05 10:56:09 +0800
committerFam Zheng <famz@redhat.com>2017-09-22 10:20:34 +0800
commitd8a2f5116dd41c2262efcd83ba9756d5953d9318 (patch)
tree51a993a316aa7da89023844b1512cbc173591b4f /tests
parent05790dafef187ae1739d71dbd15a3baea2b8f8b1 (diff)
docker: Fix return code of build_qemu()
Without "set -e", the "&&" makes sure that the return code reflects the result status, and that make only runs if configure succeeds. Signed-off-by: Fam Zheng <famz@redhat.com> Message-Id: <20170905025614.579-2-famz@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Based-on: 20170905021201.25684-1-famz@redhat.com
Diffstat (limited to 'tests')
-rwxr-xr-xtests/docker/common.rc3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/docker/common.rc b/tests/docker/common.rc
index 64b36ba2d0..3b45eb91c6 100755
--- a/tests/docker/common.rc
+++ b/tests/docker/common.rc
@@ -30,6 +30,5 @@ build_qemu()
$@"
echo "Configure options:"
echo $config_opts
- $QEMU_SRC/configure $config_opts
- make $MAKEFLAGS
+ $QEMU_SRC/configure $config_opts && make $MAKEFLAGS
}