Received: from eggs.gnu.org ([2001:4830:134:3::10]:44088) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtAaN-0003Lr-FY for qemu-devel@nongnu.org; Tue, 25 Nov 2014 02:31:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XtAaH-0000jP-7O for qemu-devel@nongnu.org; Tue, 25 Nov 2014 02:30:55 -0500 Received: from mx1.redhat.com ([209.132.183.28]:52323) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtAaH-0000gq-0K for qemu-devel@nongnu.org; Tue, 25 Nov 2014 02:30:49 -0500 From: Markus Armbruster References: <1414478736-30064-1-git-send-email-famz@redhat.com> <87lho0vbqu.fsf@blackfin.pond.sub.org> Date: Tue, 25 Nov 2014 08:30:41 +0100 In-Reply-To: <87lho0vbqu.fsf@blackfin.pond.sub.org> (Markus Armbruster's message of "Tue, 28 Oct 2014 09:28:57 +0100") Message-ID: <87zjbfrb32.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH 0/2] tests: Add check-block to "make check" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng Cc: Kevin Wolf , Peter Maydell , qemu-devel@nongnu.org, Stefan Hajnoczi , Paolo Bonzini , Andreas =?utf-8?Q?F=C3=A4rber?= Markus Armbruster writes: > Fam Zheng writes: > >> qemu-iotests contains useful tests that have a nice coverage of block layer >> code. Adding check-block (which calls tests/qemu-iotests-quick.sh) to "make >> check" is good for developers' self-testing. >> >> With the first patch, this set takes a half minute on my laptop. If >> "-j" option >> is used, it only takes a few more seconds than what we have now. > > Different data point: elderly machine, spinning rust, /tmp is tmpfs, no > -j: elapsed time increases from ~2 to ~3 minutes. I'm very much in favour of actually running the tests we have. Running all the block tests for all the formats would be too slow, and that's why you run just the "quick" group, and only for qcow2. Quick enough? Any ideas on speeding it up further? Trimming image sizes, perhaps? What are the slowest tests in the quick group? Why are they slow? How are tests selected for the quick group anyway?