This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: test_gdb fails on debug build when builddir != srcdir
Type: behavior Stage: resolved
Components: Tests Versions: Python 3.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: dmalcolm Nosy List: BreamoreBoy, dmalcolm, eric.araujo, martin.panter, vstinner
Priority: normal Keywords: patch

Created on 2011-07-06 23:25 by dmalcolm, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
fix-test_gdb-regexp.patch dmalcolm, 2011-07-06 23:25 review
Messages (5)
msg139960 - (view) Author: Dave Malcolm (dmalcolm) (Python committer) Date: 2011-07-06 23:25
test_gdb.py fails when builddir != srcdir: the regex tries to match lines like this:
  #0  builtin_id (self=<module at remote 0x7ffff20d3240>, v=()) at ../Python/bltinmodule.c:919

but isn't expecting the "../" before the "Python/bltinmodule.c"

2.7 uses a different regexp, and I don't think it's affected by an analogous problem.
msg140143 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2011-07-11 16:20
Patch LGTM.
msg140144 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2011-07-11 16:20
About 2.7: Can you please test?
msg221744 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2014-06-27 21:57
The code from the patch was committed in r77824.
msg256065 - (view) Author: Martin Panter (martin.panter) * (Python committer) Date: 2015-12-07 20:35
Looks like Mark ment Mercurial revision number 77824, corresponding to abcd29c9a791 (the link assumes Subversion). I think it made it into 3.3 but not 3.2 nor 2.7, so I am closing this.
History
Date User Action Args
2022-04-11 14:57:19adminsetgithub: 56718
2015-12-07 20:35:42martin.pantersetstatus: open -> closed

versions: - Python 2.7, Python 3.2
nosy: + martin.panter

messages: + msg256065
resolution: fixed
stage: patch review -> resolved
2014-06-27 21:57:20BreamoreBoysettype: behavior

messages: + msg221744
nosy: + BreamoreBoy
2011-07-11 16:20:18eric.araujosetmessages: + msg140144
2011-07-11 16:20:01eric.araujosetversions: + Python 2.7, Python 3.3, - Python 3.1
nosy: + eric.araujo

messages: + msg140143

components: + Tests, - None
2011-07-06 23:25:14dmalcolmcreate