]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[gdb/testsuite] Require allow_tui_tests in gdb.tui/tui-missing-src.exp
authorTom de Vries <tdevries@suse.de>
Fri, 26 Sep 2025 23:20:56 +0000 (01:20 +0200)
committerTom de Vries <tdevries@suse.de>
Fri, 26 Sep 2025 23:20:56 +0000 (01:20 +0200)
commit1e09d524275075187d3d8a503c58fb7e169f1442
tree94f5bee6bafb806294cf8be49b7761592d470b3c
parentaa0b6c104791cbc11a110ce8911f2859ca15b793
[gdb/testsuite] Require allow_tui_tests in gdb.tui/tui-missing-src.exp

When running test-case gdb.tui/tui-missing-src.exp on msys2-ucrt64, I run into
an error due to some filename mismatch.

I could try to fix this, but a bit later the test-case would bail out at
Term::enter_tui because allow_tui_tests returns 0.

Instead, fix this by adding an early require of allow_tui_tests.

Tested on x86_64-linux and msys2-ucrt64.

Approved-By: Tom Tromey <tom@tromey.com>
gdb/testsuite/gdb.tui/tui-missing-src.exp