diff options
author | Tom de Vries <tdevries@suse.de> | 2024-12-03 16:53:14 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2024-12-03 16:53:14 +0100 |
commit | 6804a0969d4a27870e76e472d0e5b66a7c4c9dc9 (patch) | |
tree | d0650b76fa1bffe89dbdae28cfbfd6ffedabdaa9 /gdb/testsuite/gdb.python/py-missing-objfile.c | |
parent | 32e3f1a0aa0aec359d944da029ea7b7262d259cd (diff) | |
download | binutils-6804a0969d4a27870e76e472d0e5b66a7c4c9dc9.zip binutils-6804a0969d4a27870e76e472d0e5b66a7c4c9dc9.tar.gz binutils-6804a0969d4a27870e76e472d0e5b66a7c4c9dc9.tar.bz2 |
[gdb/testsuite] Fix gdb.python/python.exp with --disable-tui
When building gdb with --disable-tui, we run into:
...
(gdb) python print(type(gdb.TuiWindow))^M
Python Exception <class 'AttributeError'>: \
module 'gdb' has no attribute 'TuiWindow'^M
Error occurred in Python: module 'gdb' has no attribute 'TuiWindow'^M
(gdb) FAIL: gdb.python/python.exp: gdb.TuiWindow is registered
...
Fix this by skipping the test for --disable-tui.
Tested on x86_64-linux.
Diffstat (limited to 'gdb/testsuite/gdb.python/py-missing-objfile.c')
0 files changed, 0 insertions, 0 deletions