summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_gdb.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-08-07 15:57:56 (GMT)
committerGitHub <noreply@github.com>2020-08-07 15:57:56 (GMT)
commite27a51c11e10d5df79b3e48dc3e7bfedfad5a794 (patch)
tree5410ecfd1770117799b12df5f62012b8996f8e02 /Lib/test/test_gdb.py
parentf44693eaed3b9d91a6e415d48224fd4750b59366 (diff)
downloadcpython-e27a51c11e10d5df79b3e48dc3e7bfedfad5a794.zip
cpython-e27a51c11e10d5df79b3e48dc3e7bfedfad5a794.tar.gz
cpython-e27a51c11e10d5df79b3e48dc3e7bfedfad5a794.tar.bz2
bpo-41473: Skip test_gdb with gdb 9.2 to work around gdb bug (GH-21768)
gdb 9.2 on Fedora Rawhide is not reliable, see: * https://bugs.python.org/issue41473 * https://bugzilla.redhat.com/show_bug.cgi?id=1866884
Diffstat (limited to 'Lib/test/test_gdb.py')
-rw-r--r--Lib/test/test_gdb.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/test/test_gdb.py b/Lib/test/test_gdb.py
index 22c75ba..44cb9a0 100644
--- a/Lib/test/test_gdb.py
+++ b/Lib/test/test_gdb.py
@@ -51,6 +51,11 @@ if gdb_major_version < 7:
"embedding. Saw %s.%s:\n%s"
% (gdb_major_version, gdb_minor_version,
gdb_version))
+if (gdb_major_version, gdb_minor_version) >= (9, 2):
+ # gdb 9.2 on Fedora Rawhide is not reliable, see:
+ # * https://bugs.python.org/issue41473
+ # * https://bugzilla.redhat.com/show_bug.cgi?id=1866884
+ raise unittest.SkipTest("https://bugzilla.redhat.com/show_bug.cgi?id=1866884")
if not sysconfig.is_python_build():
raise unittest.SkipTest("test_gdb only works on source builds at the moment.")