[gdb/testsuite] Add skip_python_tests in gdb.python/tui-window-names.exp
authorTom de Vries <tdevries@suse.de>
Mon, 24 Oct 2022 06:36:42 +0000 (08:36 +0200)
committerTom de Vries <tdevries@suse.de>
Mon, 24 Oct 2022 06:36:42 +0000 (08:36 +0200)
I did a gdb build without python support, and during testing ran into FAILs in
test-case gdb.python/tui-window-names.exp.

Fix this by adding the missing skip_python_test.

Tested on x86_64-linux.

gdb/testsuite/gdb.python/tui-window-names.exp

index 8aaf3b42229df38aef349b29864022647ee34be2..ff7dab5bd1596775fd85c1ba4e3a9c011a022f57 100644 (file)
@@ -26,6 +26,11 @@ if {[skip_tui_tests]} {
     return
 }
 
+if { [skip_python_tests] } {
+    untested "skipping Python tests"
+    return
+}
+
 # Define a function we can use as a window constructor.  If this ever
 # gets called we'll throw an error, but that's OK, this test doesn't
 # actually try to create any windows.