This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
- From: "janis at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Nov 2006 22:12:34 -0000
- Subject: [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings
- References: <bug-25241-1000@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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