From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32634 invoked by alias); 29 Aug 2014 12:30:16 -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 32615 invoked by uid 89); 29 Aug 2014 12:30:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.0 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 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; Fri, 29 Aug 2014 12:30:12 +0000 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s7TCU9V5013954 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 29 Aug 2014 08:30:09 -0400 Received: from host2.jankratochvil.net (ovpn-113-193.phx2.redhat.com [10.3.113.193]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s7TCU537016122 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO); Fri, 29 Aug 2014 08:30:08 -0400 Date: Fri, 29 Aug 2014 12:30:00 -0000 From: Jan Kratochvil To: Yao Qi Cc: gdb-patches@sourceware.org Subject: Re: [PATCH] Another board file for remote host Message-ID: <20140829123005.GA10523@host2.jankratochvil.net> References: <1409232690-24185-1-git-send-email-yao@codesourcery.com> <20140828211728.GA5062@host2.jankratochvil.net> <8761hcf4g8.fsf@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8761hcf4g8.fsf@codesourcery.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes X-SW-Source: 2014-08/txt/msg00638.txt.bz2 On Fri, 29 Aug 2014 03:51:51 +0200, Yao Qi wrote: > Jan Kratochvil writes: > > > Could it use some more unique directory name so that parallel runs of > > testsuites from multiple independent GDB directories work? > > And also: > > cd gdb; make -j20 -k check//unix/-m64 check//unix/-m32 > > etc. > > Do we want to run testing in remote host in parallel? If RUNTESTFLAGS > is not empty, the tests will be serialized unless FORCE_PARALLEL is set. This is unrelated as I can run multiple testsuites at once on the same host from unrelated GDB source-trees/build/trees. Besides that I do use FORCE_PARALLEL: http://git.jankratochvil.net/?p=nethome.git;a=blob;f=bin/hammock I even run all testsuites twice at the same time - for i686 and x86_64 although I run them in different chroots so this issue would not matter. But I could run the i686 build even on x86_64 just compiling everything with -m32 (which I also do). > > IIUC instead of [file tail $src] it may be better to use $src's absolute > > directory. > > Do you mean, supposing $src is /home/yao/src/gdb/testsuite/gdb.base/foo.c, > copy it to /tmp/gdb/home/yao/src/gdb/testsuite/gdb.base/foo.c? Yes. There may be other options (such as using something PID-based etc.) but I find the absolute pathname probably the best one. Thanks, Jan