From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39574) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtCAa-0000g8-Vv for qemu-devel@nongnu.org; Tue, 25 Nov 2014 04:12:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XtCAV-00017t-Ho for qemu-devel@nongnu.org; Tue, 25 Nov 2014 04:12:24 -0500 Received: from mx1.redhat.com ([209.132.183.28]:42370) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtCAV-00017m-A1 for qemu-devel@nongnu.org; Tue, 25 Nov 2014 04:12:19 -0500 Message-ID: <547447ED.9030708@redhat.com> Date: Tue, 25 Nov 2014 10:12:13 +0100 From: Max Reitz MIME-Version: 1.0 References: <1414478736-30064-1-git-send-email-famz@redhat.com> <1414478736-30064-2-git-send-email-famz@redhat.com> In-Reply-To: <1414478736-30064-2-git-send-email-famz@redhat.com> Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 1/2] qemu-iotests: Speed up make check-block List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng , qemu-devel@nongnu.org Cc: Kevin Wolf , Peter Maydell , Markus Armbruster , Stefan Hajnoczi , Paolo Bonzini , =?ISO-8859-15?Q?Andreas_F=E4rber?= On 2014-10-28 at 07:45, Fam Zheng wrote: > Using /tmp (usually mounted as tmpfs) and cache=writeback, 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 > --- > tests/qemu-iotests-quick.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tests/qemu-iotests-quick.sh b/tests/qemu-iotests-quick.sh > index 12af731..0b54dbf 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=/tmp/qemu-iotests-quick-$$ ./check -T -qcow2 -g quick -c writeback || ret=1 There are (at least) two tests which don't work with -c writeback (026 and 039), one of them is in the quick group (039). Why not use -c writethrough? It doesn't make any difference on tmpfs anyway (we can't omit it because that will break 091). And thank you, I didn't know about TEST_DIR. I always built the full qemu in /tmp. *g* Max > exit $ret