classification
Title: test_gdb fails when installed
Type: behavior Stage: patch review
Components: Tests Versions: Python 3.3
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: dmalcolm Nosy List: Mark.Shannon, dmalcolm, pitrou, python-dev, vinay.sajip
Priority: low Keywords: patch

Created on 2011-07-30 15:06 by pitrou, last changed 2012-05-06 17:50 by Mark.Shannon.

Files
File name Uploaded Description Edit
test_gdb.log pitrou, 2011-07-30 15:06
test-gdb-patch.diff vinay.sajip, 2012-01-04 16:53 Patch to skip test_gdb if it's not run from a source build.
Messages (4)
msg141443 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2011-07-30 15:06
test_gdb doesn't work from an installed Python 3.3. I suppose gdb fails finding the plugin file for the Python executable, although it manifests in quite mysterious ways. The log is rather large, I'm attaching it just in case.
msg150617 - (view) Author: Vinay Sajip (vinay.sajip) * (Python committer) Date: 2012-01-04 16:53
Pending the real fix, I've attached a patch to skip the test if it's not a source build.
msg160074 - (view) Author: Roundup Robot (python-dev) Date: 2012-05-06 11:03
New changeset 84bbb8d2d237 by Vinay Sajip in branch 'default':
#12660: Skip test_gdb when run from an installed Python.
http://hg.python.org/cpython/rev/84bbb8d2d237
msg160101 - (view) Author: Mark Shannon (Mark.Shannon) * Date: 2012-05-06 17:50
python-gdb.py was modified for the new dictionary implementation.

Can you check that your 3.3 installation isn't using an earlier version of python-gdb.py?
History
Date User Action Args
2012-05-06 17:50:08Mark.Shannonsetnosy: + Mark.Shannon
messages: + msg160101
2012-05-06 11:03:17python-devsetnosy: + python-dev
messages: + msg160074
2012-01-04 16:53:45vinay.sajipsetfiles: + test-gdb-patch.diff

nosy: + vinay.sajip
messages: + msg150617

keywords: + patch
stage: needs patch -> patch review
2011-07-30 15:06:48pitroucreate