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).
This commit is contained in:
Victor Stinner 2020-12-04 16:23:56 +01:00 committed by GitHub
parent eaccc12aa9
commit 066394018a
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" "embedding. Saw %s.%s:\n%s"
% (gdb_major_version, gdb_minor_version, % (gdb_major_version, gdb_minor_version,
gdb_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(): if not sysconfig.is_python_build():
raise unittest.SkipTest("test_gdb only works on source builds at the moment.") 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.