From: Fam Zheng Date: Tue, 26 Sep 2017 11:01:34 +0000 (+0800) Subject: docker: test-block: Don't continue if build fails X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=12b25a7d96dc01fc9710c4af5942c15a51b84db1;p=qemu.git docker: test-block: Don't continue if build fails Report error and exit upon compiling error, otherwise the iotests output will be pure noise. Signed-off-by: Fam Zheng Message-Id: <20170926110134.2786-1-famz@redhat.com> Reviewed-by: Eric Blake Signed-off-by: Fam Zheng --- diff --git a/tests/docker/test-block b/tests/docker/test-block index 2ca1ce54f6..5624b81827 100755 --- a/tests/docker/test-block +++ b/tests/docker/test-block @@ -14,7 +14,7 @@ cd "$BUILD_DIR" -build_qemu --target-list=x86_64-softmmu +build_qemu --target-list=x86_64-softmmu || test_fail "Build failed" cd tests/qemu-iotests for t in raw qcow2 nbd luks; do ./check -g quick -$t || test_fail "Test failed: iotests $t"