Add TUI resizing test
authorTom Tromey <tom@tromey.com>
Fri, 19 Jul 2019 22:15:58 +0000 (16:15 -0600)
committerTom Tromey <tom@tromey.com>
Sun, 28 Jul 2019 03:08:35 +0000 (21:08 -0600)
commitded631d57dec8c75ff5713f062b1c5667c31ec23
treebad562b57f81f701485b3ab3eeea2403eb0251e9
parent58ac439d385a285382733a35ca1fb2666edf6540
Add TUI resizing test

This adds a test case that resizes the terminal and then checks that
the TUI updates properly.

gdb/testsuite/ChangeLog
2019-07-27  Tom Tromey  <tom@tromey.com>

* lib/tuiterm.exp (spawn): New proc.
(Term::resize): New proc.
* gdb.tui/resize.exp: New file.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.tui/resize.exp [new file with mode: 0644]
gdb/testsuite/lib/tuiterm.exp