bpo-41473: Reenable test_gdb on gdb 9.2 and newer (GH-23637)

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).
(cherry picked from commit 066394018a)

Co-authored-by: Victor Stinner <vstinner@python.org>
This commit is contained in:
Miss Islington (bot) 2020-12-04 07:41:02 -08:00 committed by GitHub
parent 930d5377c5
commit 8e8f82dd94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 5 deletions

View 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.")

View File

@ -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.