[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 02/19] qemu-iotests: Speed up make check-block
From: |
Stefan Hajnoczi |
Subject: |
[Qemu-devel] [PULL 02/19] qemu-iotests: Speed up make check-block |
Date: |
Mon, 5 Jan 2015 11:51:19 +0000 |
From: Fam Zheng <address@hidden>
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 <address@hidden>
Reviewed-by: Max Reitz <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>
---
tests/qemu-iotests-quick.sh | 2 +-
tests/qemu-iotests/check | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/qemu-iotests-quick.sh b/tests/qemu-iotests-quick.sh
index 12af731..0e554bb 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
diff --git a/tests/qemu-iotests/check b/tests/qemu-iotests/check
index 8ca4011..baeae80 100755
--- a/tests/qemu-iotests/check
+++ b/tests/qemu-iotests/check
@@ -238,6 +238,7 @@ QEMU_NBD -- $QEMU_NBD
IMGFMT -- $FULL_IMGFMT_DETAILS
IMGPROTO -- $FULL_IMGPROTO_DETAILS
PLATFORM -- $FULL_HOST_DETAILS
+TEST_DIR -- $TEST_DIR
SOCKET_SCM_HELPER -- $SOCKET_SCM_HELPER
EOF
--
2.1.0
- [Qemu-devel] [PULL 00/19] Block patches, Stefan Hajnoczi, 2015/01/05
- [Qemu-devel] [PULL 01/19] qemu-iotests: Remove 091 from quick group, Stefan Hajnoczi, 2015/01/05
- [Qemu-devel] [PULL 03/19] block: mark AioContext as recursive, Stefan Hajnoczi, 2015/01/05
- [Qemu-devel] [PULL 04/19] block: do not allocate an iovec per read of a growable/zero_after_eof BDS, Stefan Hajnoczi, 2015/01/05
- [Qemu-devel] [PULL 05/19] block: replace g_new0 with g_new for bottom half allocation., Stefan Hajnoczi, 2015/01/05
- [Qemu-devel] [PULL 02/19] qemu-iotests: Speed up make check-block,
Stefan Hajnoczi <=
- [Qemu-devel] [PULL 08/19] block: JSON filenames and relative backing files, Stefan Hajnoczi, 2015/01/05
- [Qemu-devel] [PULL 06/19] checkpatch: Brace handling on multi-line condition, Stefan Hajnoczi, 2015/01/05
- [Qemu-devel] [PULL 09/19] block: Relative backing file for image creation, Stefan Hajnoczi, 2015/01/05
- [Qemu-devel] [PULL 07/19] block: Get full backing filename from string, Stefan Hajnoczi, 2015/01/05
- [Qemu-devel] [PULL 12/19] qapi: Fix document for BlockStats.node-name, Stefan Hajnoczi, 2015/01/05
- [Qemu-devel] [PULL 10/19] block/vmdk: Relative backing file for creation, Stefan Hajnoczi, 2015/01/05
- [Qemu-devel] [PULL 11/19] iotests: Add test for relative backing file names, Stefan Hajnoczi, 2015/01/05
- [Qemu-devel] [PULL 13/19] block: fix spoiling all dirty bitmaps by mirror and migration, Stefan Hajnoczi, 2015/01/05
- [Qemu-devel] [PULL 16/19] block: Add blockdev-backup to transaction, Stefan Hajnoczi, 2015/01/05
- [Qemu-devel] [PULL 14/19] qapi: Comment version info in TransactionAction, Stefan Hajnoczi, 2015/01/05