This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: PATCH: tests for MI commands
> > +FAIL: gdb.mi/mi2-var-display.exp: get children local variable weird
> >
> > Please fix them - I think the easiest thing to do is to revert the
> > changes to the affected source files and switch those two modified
> > tests to using new source files.
>
> Given the scarce resources for this unpaid work I ask you again to consider
> removing the mi2-*.exp files and just test the current version of MI. The
> reality is that they serve no useful purpose (mi-*.exp tests would still
> pass if GDB was invoked with "-i=mi2") and they require effort that could
> be better spent on other things.
Nick, I don't fully agree that the mi2- tests serve no useful purpose.
The mi2- tests make sure that the MI2 protocol is completly tested (MI2
works no less then what the mi2- tests say they do), and the mi- tests
make sure that the current development MI protocol is being tested. I
think it's important to keep both tests for this reason. Do you still
think they should be removed after this explanation?
For instance, it's possible that a command works differently between the
2 versions (don't know if this currently even happens).
Thanks,
Bob Rossi