docker: test-block: Don't continue if build fails
PATCH 1/1 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 <[email protected]>
--- tests/docker/test-block | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/docker/test-block +1 -1
@@ -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"
Signature · 1 line
2.13.5
Quoted 7 lines · Fam Zheng
Report error and exit upon compiling error, otherwise the iotests output will be pure noise.
Signed-off-by Fam Zheng <[email protected]>--- tests/docker/test-block | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by Eric Blake <[email protected]>
Quoted 15 lines
tests/docker/test-block +1
-1@@ -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"
Signature · 3 lines
Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
Fam Zheng
AppliedQuoted 10 lines · Eric Blake
Quoted 7 lines · Fam Zheng
Report error and exit upon compiling error, otherwise the iotests output will be pure noise.
Signed-off-by Fam Zheng <[email protected]>--- tests/docker/test-block | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Reviewed-by Eric Blake <[email protected]>
Queued, thanks.
Fam