From: Tom Tromey Date: Mon, 28 Sep 2020 02:30:30 +0000 (-0600) Subject: Remove test duplicate from gdb.tui X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5f278258ccae6a666c72de709a3171975fbaeb05;p=binutils-gdb.git Remove test duplicate from gdb.tui I noticed a duplicated test in gdb.tui. This patch removes it by wrapping a test in with_test_prefix. gdb/testsuite/ChangeLog 2020-09-27 Tom Tromey * gdb.tui/new-layout.exp: Use with_test_prefix. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 248f039c029..db0bdc6d324 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2020-09-27 Tom Tromey + + * gdb.tui/new-layout.exp: Use with_test_prefix. + 2020-09-26 Gareth Rees (tiny change) PR python/26586 diff --git a/gdb/testsuite/gdb.tui/new-layout.exp b/gdb/testsuite/gdb.tui/new-layout.exp index 57c3f75e3b4..d736e7f42f4 100644 --- a/gdb/testsuite/gdb.tui/new-layout.exp +++ b/gdb/testsuite/gdb.tui/new-layout.exp @@ -24,10 +24,12 @@ if {[build_executable "failed to prepare" ${testfile} ${srcfile}] == -1} { } # Make sure TUI is supported before continuing. -Term::clean_restart 24 80 $testfile -if {![Term::enter_tui]} { - unsupported "TUI not supported" - return +with_test_prefix "initial check" { + Term::clean_restart 24 80 $testfile + if {![Term::enter_tui]} { + unsupported "TUI not supported" + return + } } Term::clean_restart 24 80 $testfile