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

Tom de Vries via Gdb-cvs <[email protected]> Mon, 3 Aug 2026 17:03:18 +0000 (GMT)
Newsgroups gmane.comp.gdb.cvs
Message-ID <[email protected]>
https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D8b3ea407f655=
71000c9fc3d79081b65d1b4e3759

commit 8b3ea407f65571000c9fc3d79081b65d1b4e3759
Author: Tom de Vries <[email protected]>
Date:   Mon Aug 3 19:03:14 2026 +0200

    [gdb/testsuite] Require allow_tui_tests in gdb.tui/new-ui.exp
   =20
    I build gdb without TUI support, and ran into:
    ...
    FAIL: gdb.tui/new-ui.exp: main-ui: new-ui tui $new_ui_tty_name
    ...
   =20
    Fix this by requiring allow_tui_tests.

Diff:
---
 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-u=
i.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 @@
=20
 # Test TUI in combination with a new UI.
=20
+require allow_tui_tests
+
 tuiterm_env
=20
 # Creating a pty is done on build, and we use it with gdb on host, so we n=
eed