diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-08-07 16:15:37 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-07 16:15:37 (GMT) |
commit | 87bc22051fcfcf181160d06a57ac2b16ee071f8f (patch) | |
tree | 677316edd19207ada10fcd830db5460cb0e27c2e | |
parent | dc98a5468a48ecffe95a6c3a07ce21366477bdd7 (diff) | |
download | cpython-87bc22051fcfcf181160d06a57ac2b16ee071f8f.zip cpython-87bc22051fcfcf181160d06a57ac2b16ee071f8f.tar.gz cpython-87bc22051fcfcf181160d06a57ac2b16ee071f8f.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
(cherry picked from commit e27a51c11e10d5df79b3e48dc3e7bfedfad5a794)
Co-authored-by: Victor Stinner <vstinner@python.org>
-rw-r--r-- | Lib/test/test_gdb.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/test/test_gdb.py b/Lib/test/test_gdb.py index d90ca5a..01a48af 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.") |