aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2023-04-29 07:00:34 +0200
committerTom de Vries <tdevries@suse.de>2023-04-29 07:00:34 +0200
commit1b05f1083a4e18e5141ddce7551b79d07d9b272d (patch)
tree377f7c27ab7ba4048079d0304ba517cfae8df286 /gdb
parentdffcf6e5e60f28fc1df041ea89c4d5b8b5d843cd (diff)
downloadgdb-1b05f1083a4e18e5141ddce7551b79d07d9b272d.zip
gdb-1b05f1083a4e18e5141ddce7551b79d07d9b272d.tar.gz
gdb-1b05f1083a4e18e5141ddce7551b79d07d9b272d.tar.bz2
[gdb/testsuite] Fix gdb.tui/main.exp without TUI
With a build with --disable-tui, we get: ... (gdb) PASS: gdb.tui/main.exp: set interactive-mode off maint set tui-left-margin-verbose on^M Undefined maintenance set command: "tui-left-margin-verbose on". \ Try "help maintenance set".^M (gdb) FAIL: gdb.tui/main.exp: maint set tui-left-margin-verbose on ... Fix this by adding the missing "require allow_tui_tests". Tested on x86_64-linux.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/gdb.tui/main.exp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.tui/main.exp b/gdb/testsuite/gdb.tui/main.exp
index 9cd3ce8..8664206 100644
--- a/gdb/testsuite/gdb.tui/main.exp
+++ b/gdb/testsuite/gdb.tui/main.exp
@@ -15,6 +15,8 @@
# Test that "file" shows "main".
+require allow_tui_tests
+
tuiterm_env
standard_testfile tui-layout.c