------- Comment #2 from janis at gcc dot gnu dot org  2006-11-27 22:12 -------
The functionality to support dg-error and dg-warning is in proc dg-test in file
dg.exp from the DejaGnu project.  It treats these two directives the same
except for the failure message.  The GCC testsuite infrastructure overrides
some small DejaGnu procs to get them to do what we want, but dg-test is very
large.

Eventually we should work with the DejaGnu developers to get changes we need
into that product, including the ability to provide callbacks for
project-specific support for things like checking error and warning messages. 
In the meantime we're stuck with including "error" or "warning" in the regular
expression being checked.


-- 

janis at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |janis at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241

Reply via email to