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]

[PATCH 0/8] Testing for the TUI


While working on another long set of TUI patches, I started
introducing bugs as I made less cosmetic changes.

So, I added a way to test the TUI.  I was keeping this in my
development series, but I realized it would be better to land it
sooner, and then update the tests in the new series.

This series adds a terminal emulator to the gdb test suite, then
provides a few tests to exercise the TUI.  The emulator isn't perfect
by any means -- occasionally I've had to implement a new CSI function
while writing a test -- but it's good enough so far.

If you examine the tests here, you'll see a few uses of setup_xfail.
These were all introduced when backporting to trunk, and will be
removed by my next TUI series.

There are plenty of tests that could still be written.  Coverage in
the TUI is still just 63%.

Tom



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