Add "layout split" test
This adds a test of "layout split" to the TUI test suite. gdb/testsuite/ChangeLog 2019-07-27 Tom Tromey <tom@tromey.com> * gdb.tui/basic.exp: Add "layout split" test.
This commit is contained in:
parent
d95fc6eec0
commit
f790b310d2
@ -1,3 +1,7 @@
|
||||
2019-07-27 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* gdb.tui/basic.exp: Add "layout split" test.
|
||||
|
||||
2019-07-27 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* gdb.tui/basic.exp: Add "layout asm" test.
|
||||
|
@ -44,3 +44,12 @@ Term::command "layout asm"
|
||||
Term::check_contents "asm window shows main" "$hex <main>"
|
||||
|
||||
Term::check_box "asm box" 3 0 77 15
|
||||
|
||||
Term::command "layout split"
|
||||
Term::check_contents "split layout contents" "21 *return 0.*$hex <main>"
|
||||
|
||||
# This check fails because the file name in the title overwrites the
|
||||
# box.
|
||||
setup_xfail *-*-*
|
||||
Term::check_box "source box in split layout" 3 0 77 8
|
||||
Term::check_box "asm box in split layout" 3 7 77 8
|
||||
|
Loading…
Reference in New Issue
Block a user