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 <tom@tromey.com>
* gdb.tui/new-layout.exp: Use with_test_prefix.
+2020-09-27 Tom Tromey <tom@tromey.com>
+
+ * gdb.tui/new-layout.exp: Use with_test_prefix.
+
2020-09-26 Gareth Rees <grees@undo.io> (tiny change)
PR python/26586
}
# 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