Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20180309' into...
[qemu/ar7.git] / tests / docker / test-block
blob5624b81827323456286d0f0822ee35a46577bd8a
1 #!/bin/bash
3 # Run block test cases
5 # Copyright 2017 Red Hat Inc.
7 # Authors:
8 # Fam Zheng <famz@redhat.com>
10 # This code is licensed under the GPL version 2 or later. See
11 # the COPYING file in the top-level directory.
13 . ./common.rc
15 cd "$BUILD_DIR"
17 build_qemu --target-list=x86_64-softmmu || test_fail "Build failed"
18 cd tests/qemu-iotests
19 for t in raw qcow2 nbd luks; do
20 ./check -g quick -$t || test_fail "Test failed: iotests $t"
21 done