[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] docker: test-block: Don't continue if build fai
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH] docker: test-block: Don't continue if build fails |
Date: |
Tue, 26 Sep 2017 08:48:58 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 |
On 09/26/2017 06:01 AM, Fam Zheng wrote:
> Report error and exit upon compiling error, otherwise the iotests output
> will be pure noise.
>
> Signed-off-by: Fam Zheng <address@hidden>
> ---
> tests/docker/test-block | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Eric Blake <address@hidden>
>
> 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"
>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature