This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfa/testsuite] rename m-static1.cc to m-stat1.cc
- From: David Carlton <carlton at math dot stanford dot edu>
- To: Daniel Jacobowitz <drow at mvista dot com>
- Cc: gdb-patches at sources dot redhat dot com, Fernando Nasser <fnasser at redhat dot com>
- Date: 20 Sep 2002 09:10:33 -0700
- Subject: Re: [rfa/testsuite] rename m-static1.cc to m-stat1.cc
- References: <ro1ofasvf2p.fsf@jackfruit.Stanford.EDU><20020920155144.GA10888@nevyn.them.org>
On Fri, 20 Sep 2002 11:51:44 -0400, Daniel Jacobowitz <drow@mvista.com> said:
> On Fri, Sep 20, 2002 at 08:46:54AM -0700, David Carlton wrote:
>> Andrew just pointed out to me that the presence of both m-static.cc
>> and m-static1.cc (in gdb.c++) violates the 8.3 rule. Is it okay if
>> I rename m-static1.cc to m-stat1.cc? (And make the corresponding
>> obvious change to m-static.exp, of course.) Or is there some other
>> name I should use?
> I'd rather you just add them to the list; it's in
> gdb/config/djgpp/fnchange.lst. Others may have a different opinion,
> though..
Well, me too, actually, now that you mention the possibility. Now I'm
curious about just how that list gets used, though: to run the
testsuite properly, the .exp file needs to know the correct filename
to compile; does somebody do that by hand? (Looking in the
config/djgpp directory, I see a script 'djcheck.sh' which seems a bit
strange.)
To complicate matters, I see that some but by no means all of the c++
testsuite files are already listed in fnchange.lst, but with their
containing directory changed from gdb.c++ to gdb.cxx. So should I add
lines for all the m-static stuff to fnchange.lst, like this?
@V@/gdb/testsuite/gdb.c++/m-static.exp @V@/gdb/testsuite/gdb.cxx/m-static.exp
@V@/gdb/testsuite/gdb.c++/m-static.cc @V@/gdb/testsuite/gdb.cxx/m-static.cc
@V@/gdb/testsuite/gdb.c++/m-static.h @V@/gdb/testsuite/gdb.cxx/m-static.h
@V@/gdb/testsuite/gdb.c++/m-static1.cc @V@/gdb/testsuite/gdb.cxx/m-stat1.cc
Or just one line, like this?
@V@/gdb/testsuite/gdb.c++/m-static1.cc @V@/gdb/testsuite/gdb.c++/m-stat1.cc
David Carlton
carlton@math.stanford.edu