This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: MI testsuite to use PTY for inferior
On Mon, Aug 01, 2005 at 09:36:29AM +1200, Nick Roberts wrote:
> > If it would be OK, I'd prefer to just have the TTY work with all MI
> > tests, not making it optional. I'd like to repost the patch with all of
> > the problems found already, and with that additional change. Is this OK?
> >
> > My theory is that no FE can/should use MI with out separating the inferior
> > output via a pty. So, it's OK to test GDB under these assumptions.
>
> I think you should at least test for ptys first, so that the old tests are
> run if/when they are not available.
Won't do any good - expect relies on PTYs. If the system the tests are
run on does not have PTYs, it won't have the testsuite either.
> More generally I think its wrong to force
> the frontend to separate the output. Currently, I get reasonable behaviour
> with Emacs without doing this and would always include interleaved output as a
> user option.
Would it hurt you to stitch them back together, though? The fewer
interfaces we have to support, the better...
--
Daniel Jacobowitz
CodeSourcery, LLC