From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 34578 invoked by alias); 11 Feb 2016 17:07:52 -0000 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 Received: (qmail 34561 invoked by uid 89); 11 Feb 2016 17:07:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Autoconf X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 11 Feb 2016 17:07:50 +0000 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 (Postfix) with ESMTPS id D74BAC0AEE2B; Thu, 11 Feb 2016 17:07:48 +0000 (UTC) Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u1BH7lZ7027779; Thu, 11 Feb 2016 12:07:47 -0500 Message-ID: <56BCBFE3.3080904@redhat.com> Date: Thu, 11 Feb 2016 17:07:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Simon Marchi , gdb-patches@sourceware.org Subject: Re: [PATCH] Support 'make check-parallel' in gdb's build dir References: <1455207502-11058-1-git-send-email-palves@redhat.com> <56BCBA68.6000906@ericsson.com> In-Reply-To: <56BCBA68.6000906@ericsson.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-SW-Source: 2016-02/txt/msg00377.txt.bz2 On 02/11/2016 04:44 PM, Simon Marchi wrote: > On 16-02-11 11:18 AM, Pedro Alves wrote: >> +check-parallel: force >> + @if [ -f testsuite/Makefile ]; then \ >> + rootme=`pwd`; export rootme; \ >> + rootsrc=`cd $(srcdir); pwd`; export rootsrc; \ >> + cd testsuite; \ >> + $(MAKE) $(TARGET_FLAGS_TO_PASS) check-parallel; \ >> + else true; fi >> + > > Thanks for making it a little bit more convenient. I also use the check-parallel > target, it feels more natural than setting FORCE_PARALLEL. > >> +Parallel testing >> +**************** >> + >> +When testing natively (that is, not with a remote host), you can run > > I know you just moved that text, but would you know by any chance what is > meant by "remote host" here? Is it host in the Autoconf/Dejagnu, > terminology? Host in the Dejagnu terminology, as in [is_remote host]. > > For example, if I'm building on Linux a GDB that will run on Windows to > debug some bare-metal ARM, we are in presence of a remote host which is > Windows? Right. > > I understand why you couldn't run parallel tests against a single, bare-metal > target, but I don't understand why having a remote host would limit that > (assuming you can connect multiple times simultaneously to that remote host). I think that it's because with remote host testing, unless you assume the build and host machines share the same file system, sources/binaries of all tests end up downloaded to/produced in the same remote host dir, and then thus tests clash if run in parallel. Thanks, Pedro Alves