diff options
author | Victor Stinner <vstinner@python.org> | 2023-10-04 10:26:24 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-04 10:26:24 (GMT) |
commit | e7a61d34b7897ac6cff53add2ec03309a5ff8350 (patch) | |
tree | ad8a00e23ee1be48cb3dab277d222cf5f264718f /Misc/NEWS.d | |
parent | 35feda5bc93ab1e756f3f2739985fd36caae6920 (diff) | |
download | cpython-e7a61d34b7897ac6cff53add2ec03309a5ff8350.zip cpython-e7a61d34b7897ac6cff53add2ec03309a5ff8350.tar.gz cpython-e7a61d34b7897ac6cff53add2ec03309a5ff8350.tar.bz2 |
[3.12] gh-109972: Split test_gdb.py into test_gdb package (#109977) (#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 8f324b7ecd2df3036fab098c4c8ac185ac07b277)
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Tests/2023-09-28-12-25-19.gh-issue-109972.GYnwIP.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Tests/2023-09-28-12-25-19.gh-issue-109972.GYnwIP.rst b/Misc/NEWS.d/next/Tests/2023-09-28-12-25-19.gh-issue-109972.GYnwIP.rst new file mode 100644 index 0000000..7b60076 --- /dev/null +++ b/Misc/NEWS.d/next/Tests/2023-09-28-12-25-19.gh-issue-109972.GYnwIP.rst @@ -0,0 +1,2 @@ +Split test_gdb.py file into a test_gdb package made of multiple tests, so tests +can now be run in parallel. Patch by Victor Stinner. |