]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-41473: Reenable test_gdb on gdb 9.2 and newer (GH-23637)
authorVictor Stinner <vstinner@python.org>
Fri, 4 Dec 2020 15:23:56 +0000 (16:23 +0100)
committerGitHub <noreply@github.com>
Fri, 4 Dec 2020 15:23:56 +0000 (16:23 +0100)
https://bugzilla.redhat.com/show_bug.cgi?id=1866884 is fixed in gdb
10.1 (failed to reproduce on gdb-10.1-1.fc34.aarch64).

Lib/test/test_gdb.py
Misc/NEWS.d/next/Tests/2020-12-04-11-47-09.bpo-41473.W_updK.rst [new file with mode: 0644]

index 44cb9a0f07b75dc1f26abf6eac8e687a5a6b2fe2..22c75bae987219d954a989764067dcbed94bd4e9 100644 (file)
@@ -51,11 +51,6 @@ 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.")
diff --git a/Misc/NEWS.d/next/Tests/2020-12-04-11-47-09.bpo-41473.W_updK.rst b/Misc/NEWS.d/next/Tests/2020-12-04-11-47-09.bpo-41473.W_updK.rst
new file mode 100644 (file)
index 0000000..9e0a375
--- /dev/null
@@ -0,0 +1,3 @@
+Reenable test_gdb on gdb 9.2 and newer:
+https://bugzilla.redhat.com/show_bug.cgi?id=1866884 bug is fixed in gdb
+10.1.