mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00

Split test_gdb.py file into a test_gdb package made of multiple tests, so tests can now be run in parallel. * Create Lib/test/test_gdb/ directory. * Split test_gdb.py into multiple files in Lib/test/test_gdb/ directory. * Move Lib/test/gdb_sample.py to Lib/test/test_gdb/ directory. Update get_sample_script(): use __file__ to locate gdb_sample.py. * Move gdb_has_frame_select() and HAS_PYUP_PYDOWN to test_misc.py. * Explicitly skip test_gdb on Windows. Previously, test_gdb was skipped even if gdb was available because of gdb_has_frame_select().
10 lines
313 B
Python
10 lines
313 B
Python
# Verify that gdb can pretty-print the various PyObject* types
|
|
#
|
|
# The code for testing gdb was adapted from similar work in Unladen Swallow's
|
|
# Lib/test/test_jit_gdb.py
|
|
|
|
import os
|
|
from test.support import load_package_tests
|
|
|
|
def load_tests(*args):
|
|
return load_package_tests(os.path.dirname(__file__), *args)
|