Received: from eggs.gnu.org ([2001:4830:134:3::10]:43176) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKRSP-0007RA-QR for qemu-devel@nongnu.org; Thu, 21 Aug 2014 08:27:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XKRSJ-0000Ba-E0 for qemu-devel@nongnu.org; Thu, 21 Aug 2014 08:27:09 -0400 Received: from mx1.redhat.com ([209.132.183.28]:9498) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKRSJ-0000BQ-57 for qemu-devel@nongnu.org; Thu, 21 Aug 2014 08:27:03 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s7LCR2vF025804 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 21 Aug 2014 08:27:02 -0400 From: Markus Armbruster Date: Thu, 21 Aug 2014 14:27:00 +0200 Message-ID: <87oave58q3.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] What tests should "make check-block" run? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , Stefan Hajnoczi I posted a patch with a stupid mistake last night. Running the right tests would've saved me the embarrassment. Trouble is to run them you first have to know they exist, and then you have to know the right test script incantation. "make check-block" can't do that for you. I believe we can reasonably expect people patching block stuff to know about "make check-block" in addition to plain "make check", but asking them to know everything tests/qemu-iotests/check can do is a bit much. Here's what it can test, as far as I can tell, judging from tests/qemu-iotests/{common,group}: * Image formats raw, bochs, cow, cloop, parallels, qcow, qcow2, qed, vdi, vmdk, vpc, vhdx * Protocols file, rbd, sheepdog, nbd, ssh, nfs * Test groups aio, auto, backing, blkdbg, img, io, quick, rw, snapshot * Arbitrary cache modes (usual caveats re cache=none on funny file systems apply) * A few miscellaneous test options Current "make check-block" runs tests/qemu-iotests-quick.sh, which tests format qcow2, protocol file, group quick with cache=none. Runs 55 tests and takes about 2 minutes for me on a not particularly fast test box (spinning rust). Should "make check-block" run more tests? Which ones? Should we have a variant of "make check-block" for testing other (format, protocol) combinations? Should we have a variant of "make check-block" that tests everything that's testable without special setup? How can we make advanced iotest features more discoverable for developers not already intimately familiar with it?