diff options
author | Victor Stinner <vstinner@python.org> | 2023-09-28 11:24:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-28 11:24:15 (GMT) |
commit | 8f324b7ecd2df3036fab098c4c8ac185ac07b277 (patch) | |
tree | c021957833b3b4b4fbaa1e209ce90138c696739b /Lib/test/gdb_sample.py | |
parent | 98c0c1de18e9ec02a0dde0a89b9acf9415891de2 (diff) | |
download | cpython-8f324b7ecd2df3036fab098c4c8ac185ac07b277.zip cpython-8f324b7ecd2df3036fab098c4c8ac185ac07b277.tar.gz cpython-8f324b7ecd2df3036fab098c4c8ac185ac07b277.tar.bz2 |
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().
Diffstat (limited to 'Lib/test/gdb_sample.py')
-rw-r--r-- | Lib/test/gdb_sample.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/Lib/test/gdb_sample.py b/Lib/test/gdb_sample.py deleted file mode 100644 index 4188f50..0000000 --- a/Lib/test/gdb_sample.py +++ /dev/null @@ -1,12 +0,0 @@ -# Sample script for use by test_gdb.py - -def foo(a, b, c): - bar(a=a, b=b, c=c) - -def bar(a, b, c): - baz(a, b, c) - -def baz(*args): - id(42) - -foo(1, 2, 3) |