From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32036 invoked by alias); 2 Feb 2005 14:55:00 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 31804 invoked from network); 2 Feb 2005 14:54:51 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 2 Feb 2005 14:54:51 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j12EspBE008984 for ; Wed, 2 Feb 2005 09:54:51 -0500 Received: from localhost.redhat.com (vpn50-94.rdu.redhat.com [172.16.50.94]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j12EsjO18320; Wed, 2 Feb 2005 09:54:46 -0500 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 487067D79; Wed, 2 Feb 2005 09:53:46 -0500 (EST) Message-ID: <4200E978.7060502@gnu.org> Date: Wed, 02 Feb 2005 14:55:00 -0000 From: Andrew Cagney User-Agent: Mozilla Thunderbird 0.8 (X11/20041020) MIME-Version: 1.0 To: Joel Brobecker Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA/testsuite/ada] Put testcase code in own directory (2) References: <20050202140236.GG1147@adacore.com> In-Reply-To: <20050202140236.GG1147@adacore.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-02/txt/msg00006.txt.bz2 Joel Brobecker wrote: > Hello, > > Here is a updated patch that moves the code used by each Ada testcase > into its own subdirectory. See this message for the motivation: > http://sources.redhat.com/ml/gdb-patches/2004-11/msg00138.html > > Note that I introduced a new variable "testdir", which will contain > the name of the subdir where the sources used by this testcase are > stored. I found it useful when I modified fixed_points.exp to the new > scheme, as the testcase searches the line number for one of the source > files. > > Also, "srcfile" doesn't really apply all that much to ada, since we have > more than one src file. I kept this variable for now for better > consistency with the non-ada testcases, with the meaning being the name > of the main unit in our program. > > 2005-02-02 Joel Brobecker > > * gdb.ada/gnat_ada.gpr: New file. > * gdb.ada/gnat_ada.gin: Delete, no longer used. > * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file. > * configure.ac: No longer generate gnat_ada.gpr. > * gdb.ada/Makefile.in: Minor adaptations due to new project file. > * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada. > * gdb.ada/null_record/bar.ads: Likewise. > * gdb.ada/null_record/bar.adb: Likewise. > * gdb.ada/fixed_points/fixed_points.adb: Likewise. > * gdb.ada/null_record.exp (testdir): New variable. > (testfile): executable is now in testdir subdirectory. > (srcfile): Use full path to the main compilation unit. > * gdb.ada/fixed_points.exp: Same changes as above. mkay