]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40019: Skip test_gdb if Python was optimized (GH-19081)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 31 Mar 2020 17:27:41 +0000 (10:27 -0700)
committerGitHub <noreply@github.com>
Tue, 31 Mar 2020 17:27:41 +0000 (10:27 -0700)
commit4ced9a7611ddfd923bd8f72aa61121d0e5aeb8fc
tree6d5ddea8970506ff22cf79453ccc848dfeef2d3a
parentfb6e04b5f10086194bcc77d571f77cb30873998b
bpo-40019: Skip test_gdb if Python was optimized (GH-19081)

test_gdb now skips tests if it detects that gdb failed to read debug
information because the Python binary is optimized.
(cherry picked from commit 7bf069b6110278102c8f4719975a5eb5a5af25f9)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/test_gdb.py
Misc/NEWS.d/next/Tests/2020-03-20-00-30-36.bpo-40019.zOqHpQ.rst [new file with mode: 0644]
Tools/gdb/libpython.py