commit | 0b1cae3530601b0e5e16bb10cebafa69c43a3d09 | [log] [tgz] |
---|---|---|
author | Tom de Vries <tdevries@suse.de> | Wed May 31 15:31:15 2023 +0200 |
committer | Tom de Vries <tdevries@suse.de> | Wed May 31 15:31:15 2023 +0200 |
tree | 70f4b0b7909ffaafac306407d0998766339b87e8 | |
parent | 6e9bcaad3fd8f7635afb9fa7013762da2eeff8e5 [diff] |
[gdb/testsuite] Fix gdb.tui/wrap-line.exp with --disable-tui When running the test-case gdb.tui/wrap-line.exp with a build configured with --disable-tui, we run into: ... (gdb) PASS: gdb.tui/wrap-line.exp: width-hard-coded: set width 50 tui new-layout command-layout cmd 1^M Undefined command: "tui". Try "help".^M (gdb) ERROR: Undefined command "tui new-layout command-layout cmd 1". ... Fix this by guarding the command with allow_tui_tests. Tested on x86_64-linux.