This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFC] An initial patch for PR/1961
On Wed, Jul 06, 2005 at 03:20:37PM +0800, Wu Zhou wrote:
> BTW. I ever thought of adding a testcase to verify this, but found that
> gdb will timeout while waiting for the tui output under expect's control.
> Is there any method to work around this? More generally, is there any way
> to test TUI interface using expect? (I don't find any tests for TUI under
> the testsuite directory.) Maybe it is desirable for TUI to receive enough
> test just like what MI had done.
In theory, it is possible to use expect to test a curses application
like the TUI. In practice, I haven't got a clue how you would do it.
--
Daniel Jacobowitz
CodeSourcery, LLC