Skip to content

[3.11] gh-109972: Split test_gdb.py into test_gdb package (#109977) (… - #110343

Merged
vstinner merged 1 commit into
python:3.11from
vstinner:split_gdb11
Oct 4, 2023
Merged

[3.11] gh-109972: Split test_gdb.py into test_gdb package (#109977) (…#110343
vstinner merged 1 commit into
python:3.11from
vstinner:split_gdb11

Conversation

@vstinner

Copy link
Copy Markdown
Member

#110339)

gh-109972: Split test_gdb.py into test_gdb package (#109977)

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().

(cherry picked from commit 8f324b7) (cherry picked from commit e7a61d3)

…on#109977) (python#110339)
pythongh-109972: Split test_gdb.py into test_gdb package (python#109977)
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().
(cherry picked from commit 8f324b7)
(cherry picked from commit e7a61d3)
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@vstinner