]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/tui/testsuite: refactor new-layout.exp test
authorAndrew Burgess <aburgess@redhat.com>
Tue, 1 Feb 2022 13:36:58 +0000 (13:36 +0000)
committerAndrew Burgess <aburgess@redhat.com>
Sun, 3 Apr 2022 14:31:46 +0000 (15:31 +0100)
commit80b2eb3c34c06bbd139216ad534e91e36a7eff10
treed5c3982f8a7f86c61f4c7bf1f5953ce63748fe0f
parent44aad371013c6275bae2ee580d26b0d44de2b228
gdb/tui/testsuite: refactor new-layout.exp test

This commit changes the gdb.tui/new-layout.exp test to make use of a
list of test descriptions, and a loop to check each description in
turn.  There's no change to what is actually tested after this commit.

In future commits I plan to add additional tests to this file, and
this will be easier now that all I have to do is add a new test
description to the list.
gdb/testsuite/gdb.tui/new-layout.exp