From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 123116 invoked by alias); 3 Aug 2015 16:34:30 -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 123104 invoked by uid 89); 3 Aug 2015 16:34:30 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=no 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; Mon, 03 Aug 2015 16:34:29 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 1E6CBA0E6F; Mon, 3 Aug 2015 16:34:27 +0000 (UTC) Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t73GYP2Z025463; Mon, 3 Aug 2015 12:34:26 -0400 Message-ID: <55BF9811.50202@redhat.com> Date: Mon, 03 Aug 2015 16:34:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Simon Marchi , gdb-patches@sourceware.org Subject: Re: [PATCH] Remove symlinks created in argv0-symlink.exp and general cleanup References: <1438287227-11303-1-git-send-email-simon.marchi@ericsson.com> <55BF7962.3060106@redhat.com> <55BF85BC.8040102@ericsson.com> In-Reply-To: <55BF85BC.8040102@ericsson.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-SW-Source: 2015-08/txt/msg00029.txt.bz2 On 08/03/2015 04:16 PM, Simon Marchi wrote: > The problem is that it also affects when running other tests. > For example, doing a > > $ make check RUNTESTFLAGS="argv0-symlink.exp" > > and then > > $ make check RUNTESTFLAGS="whatis.exp" > > gives > > http://paste.ubuntu.com/11993577/ Urgh. Maybe there's some other change to argv0-symlink.exp that could be made to avoid this? I haven't looked at this in enough detail to give a good informed suggestion, but maybe putting the symlink elsewhere? > > At least, it's possible to avoid it by doing > > $ make check RUNTESTFLAGS="gdb.base/whatis.exp" > > instead. However, it also affect those as well: > > $ make check > $ make check RUNTESTFLAGS="--directory=gdb.base" > > runtest will find all tests recursively, resulting in this: > > http://paste.ubuntu.com/11993659/ > > Building out-of-tree would avoid this altogether, of course. The > reason I build in-tree is that I use a script [1] to regression-test > my patches. The script is a bit dumb and requires to build in the > git repo. I think I'll improve it a bit to make it possible to > build OOT. Personally, I'd vote for making in-tree builds, or at least testing, officially unsupported. I think gcc already does so... > > Simon > > [1] https://github.com/simark/gdb-check > Thanks, Pedro Alves