This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] lib/gdb.exp: check skip_cplus_tests target info
- To: Fernando Nasser <fnasser at cygnus dot com>
- Subject: Re: [RFA] lib/gdb.exp: check skip_cplus_tests target info
- From: Michael Snyder <msnyder at redhat dot com>
- Date: Fri, 17 Nov 2000 09:14:55 -0800
- CC: Nick Duffek <nsd at redhat dot com>, gdb-patches at sources dot redhat dot com
- References: <200011170639.eAH6dPD14220@rtl.cygnus.com> <3A155CD6.19FEC589@cygnus.com>
Fernando Nasser wrote:
>
> Nick Duffek wrote:
> >
> > The attached patch skips C++ tests if [target_info exists
> > gdb,skip_cplus_tests] is true, allowing C++ tests to be skipped by
> > changing the board description file instead of adding board-specific
> > checks to gdb.exp.
> >
>
> I wonder if this is really board specific. The capability of running
> C++ programs is related to the run time environment existent/loaded in the
> board. Sometimes a newlib that is linked to the program and loaded there,
> sometimes is part of an OS running there etc.
>
> Would you mind elaborating a little bit more on this one?
Good thinking -- what is needed is a simple way to disable
the C++ tests, but maybe it should be an argument in the
RUNTESTFLAGS.
BTW, Nick, let me add my appreciation to Fernando's for all
the testsuite cleanups.