This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: work around dejagnu bug causing spurious failures


> 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>

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]