This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA]: TUI testsuite
- From: Daniel Jacobowitz <drow at false dot org>
- To: Stephane Carrez <stcarrez at nerim dot fr>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sun, 13 Nov 2005 13:02:36 -0500
- Subject: Re: [RFA]: TUI testsuite
- References: <43762F9C.8020604@nerim.fr>
On Sat, Nov 12, 2005 at 07:08:28PM +0100, Stephane Carrez wrote:
> Hi!
>
> A long long time ago, I submitted a TUI testsuite for the validation
> of the gdb TUI:
I like it! But, it needs some work.
Some minor cosmetic things (I haven't looked through it for more,
these just popped out at me):
- TUITERM is unused, whew, I was wondering why you needed xterm.
- Semicolons at the ends of lines aren't needed in TCL
- Please don't add the @prep.ai.mit.edu address to new files;
you can just delete that paragraph.
- Please don't use gdb_suppress_entire_file any more. Just
use "untested <DESCRIPTION>" and return -1.
One substantive problem: to add a new directory to the testsuite you
also need to update a couple files in testsuite/. Search for one of
the other testsuite directory names to find where. Otherwise gdb.tui
won't be created in the object directory.
Three tests failed on my x86-64 system:
FAIL: gdb.tui/tui-break.exp: TUI, display of asm window (timeout)
FAIL: gdb.tui/tui-break.exp: TUI, stepi of asm window, pass 0, (timeout)
FAIL: gdb.tui/tui-single-key.exp: TUI, SingleKey 'u', (timeout)
The output in gdb.log is incredibly hard to read, so I am not sure why.
Don't worry about that for now; when it goes in, I'll fix them.
--
Daniel Jacobowitz
CodeSourcery, LLC