aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.tui/basic.exp
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-07-18 15:07:01 -0600
committerTom Tromey <tom@tromey.com>2019-09-08 14:06:54 -0600
commit8634b4628ea00a95ce3dfe8f9915724e8d710dad (patch)
treed4344fb5ae0483d96a8e772fa7091c3898721eda /gdb/testsuite/gdb.tui/basic.exp
parentb26b24e0278f9746913a6f8add7d0e3533934adb (diff)
downloadfsf-binutils-gdb-8634b4628ea00a95ce3dfe8f9915724e8d710dad.zip
fsf-binutils-gdb-8634b4628ea00a95ce3dfe8f9915724e8d710dad.tar.gz
fsf-binutils-gdb-8634b4628ea00a95ce3dfe8f9915724e8d710dad.tar.bz2
Truncate long TUI window titles
If a TUI window has a long title, it can overflow the title line. This changes the TUI to use just the tail part of the title in this case. gdb/ChangeLog 2019-09-08 Tom Tromey <tom@tromey.com> * tui/tui-wingeneral.c (box_win): Truncate long window titles. gdb/testsuite/ChangeLog 2019-09-08 Tom Tromey <tom@tromey.com> * gdb.tui/resize.exp: Remove setup_xfail. * gdb.tui/regs.exp: Remove setup_xfail. * gdb.tui/basic.exp: Remove setup_xfail.
Diffstat (limited to 'gdb/testsuite/gdb.tui/basic.exp')
-rw-r--r--gdb/testsuite/gdb.tui/basic.exp6
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/testsuite/gdb.tui/basic.exp b/gdb/testsuite/gdb.tui/basic.exp
index f60011c..716c52f 100644
--- a/gdb/testsuite/gdb.tui/basic.exp
+++ b/gdb/testsuite/gdb.tui/basic.exp
@@ -35,9 +35,6 @@ gdb_assert {![string match "No Source Available" $text]} \
Term::command "list main"
Term::check_contents "list main" "21 *return 0"
-# This check fails because the file name in the title overwrites the
-# box.
-setup_xfail *-*-*
Term::check_box "source box" 0 0 80 15
Term::command "layout asm"
@@ -48,8 +45,5 @@ Term::check_box "asm box" 0 0 80 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" 0 0 80 8
Term::check_box "asm box in split layout" 0 7 80 8