mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-24 12:09:58 +00:00
12b25a7d96
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>
22 lines
449 B
Bash
Executable File
22 lines
449 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# Run block test cases
|
|
#
|
|
# Copyright 2017 Red Hat Inc.
|
|
#
|
|
# Authors:
|
|
# Fam Zheng <famz@redhat.com>
|
|
#
|
|
# This code is licensed under the GPL version 2 or later. See
|
|
# the COPYING file in the top-level directory.
|
|
|
|
. ./common.rc
|
|
|
|
cd "$BUILD_DIR"
|
|
|
|
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"
|
|
done
|