aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2022-10-24 08:36:42 +0200
committerTom de Vries <tdevries@suse.de>2022-10-24 08:36:42 +0200
commitb347f578952a29ff9b02090b0dafec563520c80b (patch)
tree103cd5dca9b5896c5a1d453c1afc47c29d59e87f /gdb
parent05962dc48c3c43cba106f0e2da492c1352489936 (diff)
downloadgdb-b347f578952a29ff9b02090b0dafec563520c80b.zip
gdb-b347f578952a29ff9b02090b0dafec563520c80b.tar.gz
gdb-b347f578952a29ff9b02090b0dafec563520c80b.tar.bz2
[gdb/testsuite] Add skip_python_tests in gdb.python/tui-window-names.exp
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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/gdb.python/tui-window-names.exp5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.python/tui-window-names.exp b/gdb/testsuite/gdb.python/tui-window-names.exp
index 8aaf3b4..ff7dab5 100644
--- a/gdb/testsuite/gdb.python/tui-window-names.exp
+++ b/gdb/testsuite/gdb.python/tui-window-names.exp
@@ -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.