This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: MI failures related to string printing
> > > Don't you think that a test that randomly fails depending on compiler
> > > version and the address at which the binary happens to load is
> > > completely useless.
> >
> > It has value because it doesn't fail for everyone.
>
> Sorry, Vladimir is correct. A test which fails intermittently (and
> even if it's consistent for some people that doesn't change the fact
> that this is a fundamentally intermittent problem) is not a good test.
I'm not saying it is a good test, just that it's not completely useless. If
someone who can see the fail fixes it, then clearly that's an improvement.
> > By keeping the previous results and comparing them. I always get many
> > fails when I run the testsuite.
>
> I am working on eliminating every single one of those failures; please
> do not add more.
I've just eliminated six fails in mi-basics.exp and mi2-basics.exp that had
been around for years. No-one seemed that worried about them. I think we need
a balanced approach in these matters. I certainly won't knowingly add any new
failures.
--
Nick http://www.inet.net.nz/~nickrob