]> 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:28:35 +0000 (10:28 -0700)
committerGitHub <noreply@github.com>
Tue, 31 Mar 2020 17:28:35 +0000 (10:28 -0700)
commita764a1cc663708361300cdf88fcf697633142319
treeed47752d6b22cf2b2f4f0788e00c65ff26a3246b
parent9073f9272475be620c09b2852c094788b2b7096a
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