From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54601) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bopPO-0004ke-G4 for qemu-devel@nongnu.org; Tue, 27 Sep 2016 06:14:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bopPN-0004ZL-94 for qemu-devel@nongnu.org; Tue, 27 Sep 2016 06:14:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33448) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bopPN-0004Z6-3G for qemu-devel@nongnu.org; Tue, 27 Sep 2016 06:14:41 -0400 Date: Tue, 27 Sep 2016 11:14:35 +0100 From: "Daniel P. Berrange" Message-ID: <20160927101435.GJ3967@redhat.com> Reply-To: "Daniel P. Berrange" References: <1470993574-11906-1-git-send-email-famz@redhat.com> <20160923075807.GH8832@lemon> <33183CC9F5247A488A2544077AF19020B03D674C@SZXEMA503-MBS.china.huawei.com> <20160923095905.GJ8832@lemon> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20160923095905.GJ8832@lemon> Subject: Re: [Qemu-devel] [PATCH RFC] tests: Run qtest cases in parallel List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng Cc: "Gonglei (Arei)" , "pbonzini@redhat.com" , John Snow , "qemu-devel@nongnu.org" On Fri, Sep 23, 2016 at 05:59:05PM +0800, Fam Zheng wrote: > On Fri, 09/23 09:39, Gonglei (Arei) wrote: > > > > Hi Fam, > > > > > > > -----Original Message----- > > > From: Qemu-devel > > > [mailto:qemu-devel-bounces+arei.gonglei=huawei.com@nongnu.org] On > > > Behalf Of Fam Zheng > > > Sent: Friday, September 23, 2016 3:58 PM > > > To: John Snow > > > Cc: pbonzini@redhat.com; qemu-devel@nongnu.org > > > Subject: Re: [Qemu-devel] [PATCH RFC] tests: Run qtest cases in parallel > > > > > > On Wed, 09/21 14:24, John Snow wrote: > > > > > > > > > > > > On 08/12/2016 05:19 AM, Fam Zheng wrote: > > > > > Previously all test cases in a category, such as check-qtest-y, are > > > > > executed in a single long gtester command. This patch separates each > > > > > test into its own make target to allow better parallism. > > > > > > > > > That's will be great if we can specify a test to run, especially for the scenario > > which add one use qtest case. > > > > For example: > > > > # make check test-crypto-cipher > > > > then only run the tests/ test-crypto-cipher. > > > > Do you think it makes sense? > > Or more likely: > > # make check TESTS="test-crypto-cipher test-crypto-hash ..." > > Usually I just extract the gtester command line with V=1 and run it from my > shell prompt. Feel free to send a patch, though. Shouldn't even need todo that in most cases - I tend to just do make tests/test-crypto-cipher && ./tess/test-crypto-cipher If there are tests which rely on some environment set by the Makefile, then really they should be fixed to have sensible defaults so that they can be directly executed. Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|