Received: from eggs.gnu.org ([2001:4830:134:3::10]:46601) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XN1XC-0005S7-1A for qemu-devel@nongnu.org; Thu, 28 Aug 2014 11:22:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XN1X4-0007iI-Jc for qemu-devel@nongnu.org; Thu, 28 Aug 2014 11:22:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:32101) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XN1X4-0007hx-Cg for qemu-devel@nongnu.org; Thu, 28 Aug 2014 11:22:38 -0400 Date: Thu, 28 Aug 2014 11:22:31 -0400 From: Jeff Cody Message-ID: <20140828152231.GA11815@localhost.localdomain> References: <87oave58q3.fsf@blackfin.pond.sub.org> <20140821131237.GA22844@stefanha-thinkpad.redhat.com> <20140828110556.GH26741@stefanha-thinkpad.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140828110556.GH26741@stefanha-thinkpad.redhat.com> Subject: Re: [Qemu-devel] What tests should "make check-block" run? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Kevin Wolf , Peter Maydell , Markus Armbruster , Stefan Hajnoczi , QEMU Developers On Thu, Aug 28, 2014 at 12:05:56PM +0100, Stefan Hajnoczi wrote: > On Thu, Aug 21, 2014 at 02:16:36PM +0100, Peter Maydell wrote: > > On 21 August 2014 14:12, Stefan Hajnoczi wrote: > > > On Thu, Aug 21, 2014 at 02:27:00PM +0200, Markus Armbruster wrote: > > >> Should we have a variant of "make check-block" for testing other > > >> (format, protocol) combinations? > > > > > > I don't think variants are useful. If you need control, use ./check. > > > > That seems pretty undiscoverable to me. I know about 'make check', > > and 'make check-help' tells me about 'make check-block', but how > > do I find out about 'check' ? I just had to bounce through the makefile > > and a wrapper script to even figure out which directory it lives in, > > and there's no help text or usage comments in it... > > http://qemu-project.org/Documentation/QemuIoTests > > Any suggestions for making it more discoverable? > A couple of suggestions: 1.) Add a README file to the 'tests' directory 2.) Make the 'tests' directory more hierarchical. It is not obvious that 'qemu-iotests' (and the other tests) are something different than the giant ball of .c files that is also in the tests directory. I think it would be ideal to have the 'tests' directory contain 2 files (Makefile, README), and then sub-directories.