This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [patch] Remove invalid test on non-const empty strings
- From: Jonathan Wakely <cow at compsoc dot man dot ac dot uk>
- To: Chris Jefferson <caj at cs dot york dot ac dot uk>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Fri, 21 Jan 2005 10:49:53 +0000
- Subject: Re: [patch] Remove invalid test on non-const empty strings
- References: <41F01164.708@cs.york.ac.uk> <20050121104028.GB776@compsoc.man.ac.uk>
On Fri, Jan 21, 2005 at 10:40:28AM +0000, Jonathan Wakely wrote:
> On Thu, Jan 20, 2005 at 08:15:32PM +0000, Chris Jefferson wrote:
>
> > Out of curiosity I tried running the libstdc++ debug library against the
> > libstdc++ test suite. A few tests failed, and I intend to look through
> > and try to fix them up, once I decide the nicest way to do it.
Chris, this might save you some time if you're looking at the FAILs in
debug mode.
I know there's at least one test that fails in debug mode simply because
the diagnostic printed in debug mode is different to that in normal
mode (it's more descriptive and includes lots more detail). This means
the diagnostic doesn't match the one dejagnu is expecting, so it marks
it as a failure.
Could be fixed by #if __GLIBCXX_DEBUG and telling dejagnu to expect a
different diagnostic, but I've not got around to working out a better
solution.
jon
--
"Probably all laws are useless; for good men do not need laws at all,
and bad men are made no better by them."
- Demonax the Cynic