diff options
-rw-r--r-- | gdb/testsuite/gdb.python/python.exp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.python/python.exp b/gdb/testsuite/gdb.python/python.exp index e8eb9ec..19c8958 100644 --- a/gdb/testsuite/gdb.python/python.exp +++ b/gdb/testsuite/gdb.python/python.exp @@ -567,6 +567,10 @@ if { [use_gdb_stub] == 0 } { # directly. foreach type {Instruction LazyString Membuf Record RecordFunctionSegment \ RecordGap RecordInstruction TuiWindow} { + if { $type == "TuiWindow" && ![allow_tui_tests] } { + continue + } + gdb_test "python print(type(gdb.$type))" "<class 'type'>" \ "gdb.$type is registered" } |