work around dejagnu bug causing spurious failures
Geoff Keating
geoffk@cygnus.com
Mon Apr 3 16:16:00 GMT 2000
> 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>
More information about the Gcc-patches
mailing list