diff --git a/gdb/testsuite/gdb.python/py-doc-reformat.exp b/gdb/testsuite/gdb.python/py-doc-reformat.exp index aae3939bd07..f0cfa278557 100644 --- a/gdb/testsuite/gdb.python/py-doc-reformat.exp +++ b/gdb/testsuite/gdb.python/py-doc-reformat.exp @@ -19,6 +19,10 @@ load_lib gdb-python.exp +# Check that Python is supported. +clean_restart +if { [skip_python_tests] } { continue } + # A global counter used to number the tests. set idx 0