From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2525 invoked by alias); 25 Jun 2009 20:21:59 -0000 Received: (qmail 2516 invoked by uid 22791); 25 Jun 2009 20:21:59 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 25 Jun 2009 20:21:51 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n5PKLmY7022999; Thu, 25 Jun 2009 16:21:48 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n5PKLkW6018438; Thu, 25 Jun 2009 16:21:47 -0400 Received: from opsy.redhat.com (vpn-13-18.rdu.redhat.com [10.11.13.18]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n5PKLkrn010558; Thu, 25 Jun 2009 16:21:46 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id ED86E888077; Thu, 25 Jun 2009 14:21:44 -0600 (MDT) To: Eli Zaretskii Cc: gdb-patches@sourceware.org Subject: Re: RFC: parallelize "make check" References: <831vp90ztf.fsf@gnu.org> From: Tom Tromey Reply-To: Tom Tromey Date: Thu, 25 Jun 2009 20:21:00 -0000 In-Reply-To: <831vp90ztf.fsf@gnu.org> (Eli Zaretskii's message of "Thu\, 25 Jun 2009 06\:14\:52 +0300") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-06/txt/msg00687.txt.bz2 >>>>> "Eli" == Eli Zaretskii writes: Eli> It would be good to mention this possibility in README, IMO. Please review. Tom 2009-06-25 Tom Tromey * README: Mention parallel check. diff --git a/gdb/README b/gdb/README index 7116227..7feff8a 100644 --- a/gdb/README +++ b/gdb/README @@ -646,6 +646,15 @@ The last method gives you slightly more control in case of problems with building one or more test executables or if you are using the testsuite `standalone', without it being part of the GDB source tree. +The first two methods will let you run different parts of the +testsuite in parallel, if you use GNU make and its `-j' option. In +this case, if you set `RUNTESTFLAGS' then, by default, the tests will +be run serially. You can override this and force a parallel run by +setting the `make' variable `FORCE_PARALLEL' to any non-empty value. +Note that the parallel `make check' assumes that you want to run the +entire testsuite, so it is not compatible with some dejagnu options, +like `--directory'. + See the DejaGNU documentation for further details.