summaryrefslogtreecommitdiff
path: root/tests/qemu-iotests-quick.sh
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2014-12-15 13:07:18 +0800
committerStefan Hajnoczi <stefanha@redhat.com>2015-01-13 11:47:55 +0000
commitb8aff7d6bfa1632d722f47a1a6bca679221b6db3 (patch)
tree54805270d01a6c25eef15738052fa1b02a3152e6 /tests/qemu-iotests-quick.sh
parent709e57753b57cbef674e88e85056612d3e1727c2 (diff)
downloadqemu-b8aff7d6bfa1632d722f47a1a6bca679221b6db3.tar.gz
qemu-iotests: Speed up make check-block
Using /tmp, which is usually mounted as tmpfs, the quick group can be quicker. On my laptop (Lenovo T430s with Fedora 20), this reduces the time from 50s to 30s. Signed-off-by: Fam Zheng <famz@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/qemu-iotests-quick.sh')
-rwxr-xr-xtests/qemu-iotests-quick.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests-quick.sh b/tests/qemu-iotests-quick.sh
index 12af731c68..0e554bb972 100755
--- a/tests/qemu-iotests-quick.sh
+++ b/tests/qemu-iotests-quick.sh
@@ -3,6 +3,6 @@
cd tests/qemu-iotests
ret=0
-./check -T -qcow2 -g quick || ret=1
+TEST_DIR=${TEST_DIR:-/tmp/qemu-iotests-quick-$$} ./check -T -qcow2 -g quick || ret=1
exit $ret