This is the mail archive of the
mailing list for the GDB project.
[PATCH 0/8] Testing for the TUI
- From: Tom Tromey <tom at tromey dot com>
- To: gdb-patches at sourceware dot org
- Date: Sun, 21 Jul 2019 12:49:02 -0600
- Subject: [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%.