This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA]: TUI testsuite


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]