Raymond Hettinger
f74c33ad5c
Merge
2016-08-25 21:12:16 -07:00
Raymond Hettinger
7ea386e56e
Issue 19504: Change "customise" to "customize" American spelling.
2016-08-25 21:11:50 -07:00
Serhiy Storchaka
e437a10d15
Issue #23277 : Remove unused imports in tests.
2016-04-24 21:41:02 +03:00
Victor Stinner
0d88c65231
Backport test_gdb fix for s390x buildbots
2016-04-20 00:30:14 +02:00
Victor Stinner
c53195bbf0
Try to fix test_gdb on s390x SLES 3.x
...
Ignore empty lines in stderr.
2016-03-23 21:08:25 +01:00
Victor Stinner
904f5def5c
Try to fix test_gdb on s390x buildbots
2016-03-23 18:32:54 +01:00
Victor Stinner
5a701f0304
Issue #25876 : Fix also test_set() of test_gdb when -E command line is used
2016-01-22 15:04:27 +01:00
Victor Stinner
22756f18bc
Issue #25876 : test_gdb: use subprocess._args_from_interpreter_flags() to test
...
Python with more options.
2016-01-22 14:16:47 +01:00
Martin Panter
7a5fe6d5d1
Issue #14771 : Redirect GDB's stdin to avoid messing the terminal settings
...
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.
2016-01-16 05:18:47 +00:00
Martin Panter
40e102c193
Issue #25820 : Remove unused assignment and redundant GDB CLI arguments
...
These were added in revision b71cda2f48c6.
2015-12-08 21:54:42 +00:00
Victor Stinner
d64cfc215c
Merge 3.4 (test_gdb)
2015-09-15 00:23:08 +02:00
Victor Stinner
a578eb34ba
test_gdb: fix regex to parse the GDB version
...
Fix the regex to support the version 7.10: minor version with two digits
2015-09-15 00:22:55 +02:00
Victor Stinner
aba2466d09
Merge 3.4 (test_gdb)
2015-09-03 15:42:45 +02:00
Victor Stinner
479fea63e1
test_gdb: oops, the regex to parse the gdb version was still too strict
2015-09-03 15:42:26 +02:00
Victor Stinner
ccc546c658
Merge 3.4 (test_gdb)
2015-09-03 09:46:11 +02:00
Victor Stinner
26afae4019
test_gdb: fix regex to parse GDB version for 'GNU gdb 6.1.1 [FreeBSD]\n'
2015-09-03 09:45:53 +02:00
Victor Stinner
329ca7118f
Merge 3.4 (test_gdb)
2015-09-02 23:21:03 +02:00
Victor Stinner
5b6b4a8c34
test_gdb: use subprocess.Popen context manager to fix ResourceWarning warnings
...
when the test is interrupted (or fail).
2015-09-02 23:19:55 +02:00
Victor Stinner
2f3ac1ea76
test_gdb: fix regex to parse gdb version for SUSE Linux Entreprise
...
Mention also the detected GDB version on verbose mode and on error (if the
major version is smaller than 7).
2015-09-02 23:12:14 +02:00
Victor Stinner
79644f9c83
Issue #22117 : Fix test_gdb for the new time.sleep()
...
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.
2015-03-27 15:42:37 +01:00
Serhiy Storchaka
6b688d8162
Issue #22844 : Fized test_gdb failure on Debian Wheezy for Z.
...
Patch by David Edelsohn.
2015-02-14 22:44:35 +02:00
Serhiy Storchaka
17d337bc7a
Issue #23881 : Only use entry-values with gdb 7.4 in tests.
...
Fixes a regression in issue #22765 . Patch by Vinson Lee.
2015-02-06 08:35:20 +02:00
Serhiy Storchaka
fdc995336f
Issue #22765 : Fixed test_gdb failures. Supressed unexpected gdb output.
...
Patch by Bohuslav Kabrda.
2015-01-31 11:48:52 +02:00
Victor Stinner
7869a4e03a
Closes #22188 : test_gdb now runs gdb with -nx: "Do not execute commands from
...
any .gdbinit initialization files".
2014-08-16 14:38:02 +02:00
Victor Stinner
23ed7e3d12
Issue #19753 : New try to fix test_gdb on System Z buildbot
2013-11-25 10:43:59 +01:00
Victor Stinner
f4a4898c18
Issue #19753 : Try to fix test_gdb on SystemZ buildbot
2013-11-24 18:55:25 +01:00
Antoine Pitrou
f6eb31fdc6
Issue #19743 : fix test_gdb on some optimized Python builds
2013-11-24 14:58:17 +01:00
Antoine Pitrou
e50240c504
Issue #19308 : fix the gdb plugin on gdbs linked with Python 3
2013-11-23 17:40:36 +01:00
Victor Stinner
a282825bf6
Issue #19183 : Simplify test_gdb
...
repr() is no more platform dependent, SipHash has been fixed
2013-11-21 10:25:09 +01:00
Victor Stinner
5132493155
Issue #19183 : Fix repr() tests of test_gdb, hash() is now platform dependent
2013-11-20 12:27:48 +01:00
Christian Heimes
156983ae3b
Issue #19183 : test_gdb's test_dict was failing on some machines as the order or dict keys has changed again.
2013-11-20 12:00:35 +01:00
Nick Coghlan
df4cb129e4
Merge from 3.3
2013-09-22 19:38:44 +10:00
Nick Coghlan
ce34687d23
Fix comment in test_gdb
2013-09-22 19:38:16 +10:00
Antoine Pitrou
a78cccb134
test_gdb: skip pretty-printing of sets with gdb < 7.3
...
(should fix the failures on OpenIndiana)
2013-09-22 00:14:27 +02:00
Antoine Pitrou
d0f3e07a60
test_gdb: dump gdb version in verbose mode
2013-09-21 23:56:17 +02:00
Serhiy Storchaka
46e1ce214b
Issue #18783 : Removed existing mentions of Python long type in docstrings,
...
error messages and comments.
2013-08-27 20:17:03 +03:00
Serhiy Storchaka
9594942716
Issue #18783 : Removed existing mentions of Python long type in docstrings,
...
error messages and comments.
2013-08-27 19:40:23 +03:00
Victor Stinner
5ac1b936ef
test_gdb.py: ignore also "warning: Source file is more recent than executable." pattern
2013-06-25 21:54:32 +02:00
Antoine Pitrou
81641d6ebc
Issue #17712 : Fix test_gdb failures on Ubuntu 13.04.
2013-05-01 00:15:44 +02:00
R David Murray
f358eaf362
merge #15043 : Improve test_gdb support of gdb >= 7.4.
...
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.
2012-10-27 13:26:14 -04:00
R David Murray
f9333026f7
#15043 : Improve test_gdb support of gdb >= 7.4.
...
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.
2012-10-27 13:22:41 -04:00
Benjamin Peterson
61cdcf5d7e
merge 3.2
2012-09-20 23:49:33 -04:00
Benjamin Peterson
f8a9a837c4
remove gdb noise about linux-vdso
2012-09-20 23:48:23 -04:00
David Malcolm
8d37ffa563
Issue #12605 : Show information on more C frames within gdb backtraces
...
The gdb hooks for debugging CPython (within Tools/gdb) have
been enhanced to show information on more C frames relevant to CPython within
the "py-bt" and "py-bt-full" commands:
* C frames that are waiting on the GIL
* C frames that are garbage-collecting
* C frames that are due to the invocation of a PyCFunction
2012-06-27 14:15:34 -04:00
Nick Coghlan
9aff2a7c41
Merge from 3.2 (Issue #15043 : skip test_gdb if the custom hooks can't be loaded)
2012-06-17 19:16:02 +10:00
Nick Coghlan
be4e4b5691
Issue #15043 : skip test_gdb if the custom hooks can't be loaded
2012-06-17 18:57:20 +10:00
Vinay Sajip
f1b34ee61b
#12660 : Skip test_gdb when run from an installed Python.
2012-05-06 12:03:05 +01:00
Georg Brandl
2fb477c0f0
Merge 3.2: Issue #13703 plus some related test suite fixes.
2012-02-21 00:33:36 +01:00
Georg Brandl
09a7c72cad
Merge from 3.1: Issue #13703 : add a way to randomize the hash values of basic types (str, bytes, datetime)
...
in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated.
The environment variable PYTHONHASHSEED and the new command line flag -R control this
behavior.
2012-02-20 21:31:46 +01:00
Vinay Sajip
cdf6cd9ff3
Closes #13699 . Skipped two tests if Python is optimised.
2012-01-05 11:45:31 +00:00