Author ned.deily
Recipients ned.deily, orsenthil, r.david.murray, terry.reedy, tony_nelson
Date 2014-06-28.18:06:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1403978782.08.0.692313883436.issue5638@psf.upfronthosting.co.za>
In-reply-to
Content
I don't see where any problems were fixed but I've verified that with current default that this case works correctly if you start the tests correctly as "make test" does.

LD_LIBRARY_PATH=$CWD ./python -m test ...

The cgi test cases create a temporary directory, set up a symlink for python using the value of sys.executable, which should be ./python, and the LD_LIBRARY_PATH environment variable (or equivalent on the platform) is inherited in the test cases.  I suppose you could run into trouble *if* there already is a Python shared library installed in the prefix location and on the platform, directories in LD_LIBRARY_PATH are not searched first.  If that's the case, then there's little Python can do and other tests would fail.  In such a situation, you would either have to install first or, for test purposes, use a temporary value for --prefix when running configure and make a test-only build.
History
Date User Action Args
2014-06-28 18:06:22ned.deilysetrecipients: + ned.deily, terry.reedy, orsenthil, tony_nelson, r.david.murray
2014-06-28 18:06:22ned.deilysetmessageid: <1403978782.08.0.692313883436.issue5638@psf.upfronthosting.co.za>
2014-06-28 18:06:22ned.deilylinkissue5638 messages
2014-06-28 18:06:21ned.deilycreate