public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [pushed] [gdb/testsuite] Add skip_python_tests in gdb.python/tui-window-names.exp
@ 2022-10-24  6:37 Tom de Vries
  0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2022-10-24  6:37 UTC (permalink / raw)
  To: gdb-patches

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 | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gdb/testsuite/gdb.python/tui-window-names.exp b/gdb/testsuite/gdb.python/tui-window-names.exp
index 8aaf3b42229..ff7dab5bd15 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.

base-commit: 05962dc48c3c43cba106f0e2da492c1352489936
-- 
2.35.3


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-10-24  6:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-24  6:37 [pushed] [gdb/testsuite] Add skip_python_tests in gdb.python/tui-window-names.exp Tom de Vries

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).