diff options
author | Fam Zheng | 2017-09-26 13:01:34 +0200 |
---|---|---|
committer | Fam Zheng | 2017-09-29 05:14:15 +0200 |
commit | 12b25a7d96dc01fc9710c4af5942c15a51b84db1 (patch) | |
tree | 34d05813374ba2da4e241e7af1c16e454ef53b18 /tests/docker | |
parent | tests/docker/run: don't source /etc/profile (diff) | |
download | qemu-12b25a7d96dc01fc9710c4af5942c15a51b84db1.tar.gz qemu-12b25a7d96dc01fc9710c4af5942c15a51b84db1.tar.xz qemu-12b25a7d96dc01fc9710c4af5942c15a51b84db1.zip |
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 <famz@redhat.com>
Message-Id: <20170926110134.2786-1-famz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Diffstat (limited to 'tests/docker')
-rwxr-xr-x | tests/docker/test-block | 2 |
1 files changed, 1 insertions, 1 deletions
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" |