This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

[Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings



------- Comment #11 from janis at gcc dot gnu dot org  2007-01-31 17:34 -------
The other DejaGnu procs that are wrapped in the GCC testsuite, like dg-test,
are used within the .exp files, not within tests; that's why dg-error and
dg-warning are different.  Developers are familiar with test directives but
most have probably never looked inside the .exp files.

Ben Elliston is also a DejaGnu maintainer, and we've talked about fixing things
like this in DejaGnu and moving GCC to a new version.  One problem is that it's
difficult to move GCC to newer tools; another is that in this case, the
behavior isn't compatible if we keep the same names.

Perhaps we should back up and design new test directives for diagnostics from
scratch, starting by coming up with a list of requirements for them.  That
might be easier to do on the wiki.


-- 


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


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