gdb/testsuite/tui: Introduce check_box_contents
authorAndrew Burgess <andrew.burgess@embecosm.com>
Tue, 7 Jan 2020 00:35:02 +0000 (00:35 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 9 Jan 2020 23:11:44 +0000 (23:11 +0000)
commit3804da7e07a13c14210d79de55ebfe2318421164
tree554be6e90a1ea98219e32654beebf5bdfb4e5dcf
parentb40aa28fb5de5e84bd3409f54138def0ba904a9a
gdb/testsuite/tui: Introduce check_box_contents

A new test procedure for matching the contents of one screen box
against a regexp.  This can be used to match the contents of one TUI
window against a regexp without any of the borders, or other windows
being included in the matched output (as is currently the case with
check_contents).

This will be used in a later commit.

gdb/testsuite/ChangeLog:

* lib/tuiterm.exp (Term::check_box_contents): New proc.

Change-Id: Icf795bf38dd9295e282a34eecc318a9cdbc73926
gdb/testsuite/ChangeLog
gdb/testsuite/lib/tuiterm.exp