summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_gdb.py
Commit message (Collapse)AuthorAgeFilesLines
* [3.6] bpo-30345: Update test_gdb.py and python-gdb.py from master (#1549)Victor Stinner2017-05-121-2/+20
| | | | | | | | | | | | | | * python-gdb.py supports method-wrapper bpo-29367: python-gdb.py now supports also method-wrapper (wrapperobject) objects. (cherry picked from commit 611083331d534481ca7956a376e38fb0e9ef3854) * Update and enhance python-gdb.py bpo-29259: Detect PyCFunction is the current frame, not only in the older frame.
* Issue #28770: Update python-gdb.py for fastcallsVictor Stinner2016-11-221-10/+10
| | | | | | | | Frame.is_other_python_frame() now also handles _PyCFunction_FastCallDict() frames. Thanks to the new code to handle fast calls, python-gdb.py is now also able to detect the <built-in id method of module ...> frame.
* Issue #28023: Fix python-gdb.py didn't support new dict implementationINADA Naoki2016-11-221-6/+3
|
* #27364: fix "incorrect" uses of escape character in the stdlib.R David Murray2016-09-081-6/+6
| | | | | | | And most of the tools. Patch by Emanual Barry, reviewed by me, Serhiy Storchaka, and Martin Panter.
* Implement compact dictVictor Stinner2016-09-081-0/+3
| | | | | | | | | | | | Issue #27350: `dict` implementation is changed like PyPy. It is more compact and preserves insertion order. _PyDict_Dummy() function has been removed. Disable test_gdb: python-gdb.py is not updated yet to the new structure of compact dictionaries (issue #28023). Patch written by INADA Naoki.
* get skipIf from the right placeBenjamin Peterson2016-09-071-1/+1
|
* Adds test.support.PGO and skips tests that are not useful for PGO.Steve Dower2016-09-071-0/+1
|
* merge 3.5 (#27969)Benjamin Peterson2016-09-061-0/+1
|\
| * suppress stderr output when checking gdb (closes #27969)Benjamin Peterson2016-09-061-0/+1
| |
* | MergeRaymond Hettinger2016-08-261-1/+1
|\ \ | |/
| * Issue 19504: Change "customise" to "customize" American spelling.Raymond Hettinger2016-08-261-1/+1
| |
| * Backport test_gdb fix for s390x buildbotsVictor Stinner2016-04-191-17/+7
| |
* | Issue #23277: Remove unused imports in tests.Serhiy Storchaka2016-04-241-1/+0
| |
* | Try to fix test_gdb on s390x SLES 3.xVictor Stinner2016-03-231-0/+2
| | | | | | | | Ignore empty lines in stderr.
* | Try to fix test_gdb on s390x buildbotsVictor Stinner2016-03-231-17/+5
| |
* | Issue #25876: Fix also test_set() of test_gdb when -E command line is usedVictor Stinner2016-01-221-3/+6
| |
* | Issue #25876: test_gdb: use subprocess._args_from_interpreter_flags() to testVictor Stinner2016-01-221-4/+14
|/ | | | Python with more options.
* Issue #14771: Redirect GDB's stdin to avoid messing the terminal settingsMartin Panter2016-01-161-0/+3
| | | | | | | Otherwise, GDB seems to affect the terminal's foreground process group, interfering with test_ioctl, which does not expect the foreground process to change during the test. This change also solves the problem of the tests being stopped in the shell if test_gdb is run twice in parallel.
* Issue #25820: Remove unused assignment and redundant GDB CLI argumentsMartin Panter2015-12-081-3/+1
| | | | These were added in revision b71cda2f48c6.
* Merge 3.4 (test_gdb)Victor Stinner2015-09-141-1/+1
|\
| * test_gdb: fix regex to parse the GDB versionVictor Stinner2015-09-141-1/+1
| | | | | | | | Fix the regex to support the version 7.10: minor version with two digits
* | Merge 3.4 (test_gdb)Victor Stinner2015-09-031-2/+3
|\ \ | |/
| * test_gdb: oops, the regex to parse the gdb version was still too strictVictor Stinner2015-09-031-2/+3
| |
* | Merge 3.4 (test_gdb)Victor Stinner2015-09-031-1/+2
|\ \ | |/
| * test_gdb: fix regex to parse GDB version for 'GNU gdb 6.1.1 [FreeBSD]\n'Victor Stinner2015-09-031-1/+2
| |
* | Merge 3.4 (test_gdb)Victor Stinner2015-09-021-17/+33
|\ \ | |/
| * test_gdb: use subprocess.Popen context manager to fix ResourceWarning warningsVictor Stinner2015-09-021-20/+29
| | | | | | | | when the test is interrupted (or fail).
| * test_gdb: fix regex to parse gdb version for SUSE Linux EntrepriseVictor Stinner2015-09-021-4/+11
| | | | | | | | | | Mention also the detected GDB version on verbose mode and on error (if the major version is smaller than 7).
* | Issue #22117: Fix test_gdb for the new time.sleep()Victor Stinner2015-03-271-6/+8
|/ | | | | | | Use time.gmtime() instead of time.sleep(), because time.sleep() is no more declared with METH_VARARGS but with METH_O. time.gmtime() is still declared with METH_VARARGS and so it is called with PyCFunction_Call() which is the target of the test_gdb unit test.
* Issue #22844: Fized test_gdb failure on Debian Wheezy for Z.Serhiy Storchaka2015-02-141-0/+2
| | | | Patch by David Edelsohn.
* Issue #23881: Only use entry-values with gdb 7.4 in tests.Serhiy Storchaka2015-02-061-8/+10
| | | | Fixes a regression in issue #22765. Patch by Vinson Lee.
* Issue #22765: Fixed test_gdb failures. Supressed unexpected gdb output.Serhiy Storchaka2015-01-311-0/+19
| | | | Patch by Bohuslav Kabrda.
* Closes #22188: test_gdb now runs gdb with -nx: "Do not execute commands fromVictor Stinner2014-08-161-3/+5
| | | | any .gdbinit initialization files".
* Issue #19753: New try to fix test_gdb on System Z buildbotVictor Stinner2013-11-251-0/+2
|
* Issue #19753: Try to fix test_gdb on SystemZ buildbotVictor Stinner2013-11-241-0/+1
|
* Issue #19743: fix test_gdb on some optimized Python buildsAntoine Pitrou2013-11-241-4/+8
|
* Issue #19308: fix the gdb plugin on gdbs linked with Python 3Antoine Pitrou2013-11-231-1/+1
|
* Issue #19183: Simplify test_gdbVictor Stinner2013-11-211-27/+20
| | | | repr() is no more platform dependent, SipHash has been fixed
* Issue #19183: Fix repr() tests of test_gdb, hash() is now platform dependentVictor Stinner2013-11-201-20/+29
|
* Issue #19183: test_gdb's test_dict was failing on some machines as the order ↵Christian Heimes2013-11-201-2/+1
| | | | or dict keys has changed again.
* Merge from 3.3Nick Coghlan2013-09-221-1/+2
|\
| * Fix comment in test_gdbNick Coghlan2013-09-221-1/+2
| |
* | test_gdb: skip pretty-printing of sets with gdb < 7.3Antoine Pitrou2013-09-211-0/+4
| | | | | | | | (should fix the failures on OpenIndiana)
* | test_gdb: dump gdb version in verbose modeAntoine Pitrou2013-09-211-0/+6
| |
* | Issue #18783: Removed existing mentions of Python long type in docstrings,Serhiy Storchaka2013-08-271-1/+1
|\ \ | |/ | | | | error messages and comments.
| * Issue #18783: Removed existing mentions of Python long type in docstrings,Serhiy Storchaka2013-08-271-1/+1
| | | | | | | | error messages and comments.
* | test_gdb.py: ignore also "warning: Source file is more recent than ↵Victor Stinner2013-06-251-0/+1
|/ | | | executable." pattern
* Issue #17712: Fix test_gdb failures on Ubuntu 13.04.Antoine Pitrou2013-04-301-21/+24
|
* merge #15043: Improve test_gdb support of gdb >= 7.4.R David Murray2012-10-271-38/+44
|\ | | | | | | | | | | Instead of requiring the tester to manually add the path to the python-gdb.py file in the checkout to their .gdbinit file, add it automatically when invoking gdb in the test.
| * #15043: Improve test_gdb support of gdb >= 7.4.R David Murray2012-10-271-38/+46
| | | | | | | | | | | | Instead of requiring the tester to manually add the path to the python-gdb.py file in the checkout to their .gdbinit file, add it automatically when invoking gdb in the test.