This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: work around dejagnu bug causing spurious failures
- To: zack at wolery dot cumb dot org
- Subject: Re: work around dejagnu bug causing spurious failures
- From: Geoff Keating <geoffk at cygnus dot com>
- Date: Mon, 3 Apr 2000 16:16:14 -0700
- CC: gcc-patches at gcc dot gnu dot org
- References: <20000403160306.M792@wolery.cumb.org>
> From: Zack Weinberg <zack@wolery.cumb.org>
> Date: Mon, 3 Apr 2000 16:03:06 -0700
> Cc: geoffk@cygnus.com
> A number of the cpp tests are failing spuriously because of a bug in
> dejagnu. The new preprocessor issues error messages with column
> numbers. That can confuse the error-matching regexp in dg.exp, causing
> it to match lines it shouldn't, which are then unavailable to be
> matched by other tests.
>
> This patch works around the bug, by disabling column numbers ...
Wouldn't it be better to just fix dejagnu? It could be as easy as
changing the (default?) definition of dg-linenum-format, to
":%d:[0-9]+:" from its default of ":%d:".
--
- Geoffrey Keating <geoffk@cygnus.com>