[PATCH] Create g++.dg/debug
Jakub Jelinek
jakub@redhat.com
Thu Feb 14 05:52:00 GMT 2002
On Thu, Feb 14, 2002 at 11:36:41AM +0000, Jason Merrill wrote:
> >>>>> "Jakub" == Jakub Jelinek <jakub@redhat.com> writes:
>
> > On Wed, Feb 13, 2002 at 11:07:06PM +0000, Jason Merrill wrote:
> >> >>>>> "Jakub" == Jakub Jelinek <jakub@redhat.com> writes:
> >>
> >> > On Wed, Feb 13, 2002 at 02:42:50PM -0800, Geoff Keating wrote:
> >> >>
> >> >> > The testcase should go in gcc.dg/debug.
> >> >>
> >> >> Oh, wait, no it shouldn't, it's a C++ testcase. Sigh.
> >>
> >> > Maybe at some point g++.dg/debug will be useful too, but currently we have
> >> > just 3 testcases...
> >>
> >> Create it anyway; g++.dg is still rather new. In general, please think of
> >> the right category rather than put tests in "other".
>
> > Ok to commit this then (plus remove g++.dg/other/debug*.C)?
>
> > 2002-02-14 Jakub Jelinek <jakub@redhat.com>
>
> > * g++.dg/debug/debug.exp: New.
>
> This is not necessary; the one in g++.dg is recursive.
Although it is recursive, it does a different thing. This debug.exp is
adaptation of Geoff's debug.exp for C, which cycles through various -g
options (unlike dg.exp).
g++.dg/dg.exp should use:
# Gather a list of all tests, excluding those in special/ and debug/;
# those are handled well, specially.
set all [lsort [find $srcdir/$subdir *.C]]
set tests [prune [prune $all $srcdir/$subdir/special/*] $srcdir/$subdir/debug/*]
too.
Jakub
More information about the Gcc-patches
mailing list