[pushed] [gdb/testsuite] Require allow_tui_tests in gdb.tui/new-ui.exp

Tom de Vries <[email protected]> Mon, 3 Aug 2026 19:03:38 +0200
Newsgroups gmane.comp.gdb.patches
Message-ID <[email protected]>
I build gdb without TUI support, and ran into:
...
FAIL: gdb.tui/new-ui.exp: main-ui: new-ui tui $new_ui_tty_name
...

Fix this by requiring allow_tui_tests.
---
 gdb/testsuite/gdb.tui/new-ui.exp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gdb/testsuite/gdb.tui/new-ui.exp b/gdb/testsuite/gdb.tui/new-ui.exp
index 8fe3567077a..e6c6409e233 100644
--- a/gdb/testsuite/gdb.tui/new-ui.exp
+++ b/gdb/testsuite/gdb.tui/new-ui.exp
@@ -15,6 +15,8 @@
 
 # Test TUI in combination with a new UI.
 
+require allow_tui_tests
+
 tuiterm_env
 
 # Creating a pty is done on build, and we use it with gdb on host, so we need

base-commit: 23ee11771f16449e384ada7a0de83722aaceafcf
-- 
2.51.0