cpython/Lib/test/test_gdb
Miss Islington (bot) f0c2390a1f
[3.12] gh-110995: Fix test_gdb check_usable_gdb() (GH-110998) (#111003)
gh-110995: Fix test_gdb check_usable_gdb() (GH-110998)

Fix detection of gdb built without Python scripting support.

* check_usable_gdb() doesn't check gdb exit code when calling
  run_gdb().
* Use shutil.which() to get the path to the gdb program.
(cherry picked from commit 920b3dfaca)

Co-authored-by: Victor Stinner <vstinner@python.org>
2023-10-17 18:45:55 +00:00
..
__init__.py [3.12] Add support.MS_WINDOWS constant (#110446) (#110452) 2023-10-06 01:26:14 +00:00
gdb_sample.py
test_backtrace.py
test_cfunction.py
test_cfunction_full.py
test_misc.py
test_pretty_print.py
util.py [3.12] gh-110995: Fix test_gdb check_usable_gdb() (GH-110998) (#111003) 2023-10-17 18:45:55 +00:00