diff options
author | Andrew Burgess <aburgess@redhat.com> | 2022-06-06 12:16:56 +0100 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2022-06-06 12:34:24 +0100 |
commit | 772f4c2e98100e2bc3277bb7a214b8751c1cf968 (patch) | |
tree | a4faa56ec2f6f1d41930ea829527bc1796ae7da5 | |
parent | fdb5b467f97da3cdd1afef8bff17d68a9a919573 (diff) | |
download | gdb-772f4c2e98100e2bc3277bb7a214b8751c1cf968.zip gdb-772f4c2e98100e2bc3277bb7a214b8751c1cf968.tar.gz gdb-772f4c2e98100e2bc3277bb7a214b8751c1cf968.tar.bz2 |
gdb/testsuite: add missing skip_python_tests call in py-doc-reformat.exp
In commit:
commit 51e8dbe1fbe7d8955589703140ca5eba7b4f1bd7
Date: Mon May 16 19:26:54 2022 +0100
gdb/python: improve formatting of help text for user defined commands
the test that was added (gdb.python/py-doc-reformat.exp) was missing a
call to skip_python_tests. As a result, this test would fail for any
GDB built within Python support.
This commit adds a call to skip_python_tests.
-rw-r--r-- | gdb/testsuite/gdb.python/py-doc-reformat.exp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.python/py-doc-reformat.exp b/gdb/testsuite/gdb.python/py-doc-reformat.exp index aae3939..f0cfa27 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 |