bpo-40019: Skip test_gdb if Python was optimized by vstinner · Pull Request #19081 · python/cpython · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions Lib/test/test_gdb.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
test_gdb now skips tests if it detects that gdb failed to read debug
information because the Python binary is optimized.
16 changes: 9 additions & 7 deletions Tools/gdb/libpython.py