Message221805
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. |
|
Date |
User |
Action |
Args |
2014-06-28 18:06:22 | ned.deily | set | recipients:
+ ned.deily, terry.reedy, orsenthil, tony_nelson, r.david.murray |
2014-06-28 18:06:22 | ned.deily | set | messageid: <1403978782.08.0.692313883436.issue5638@psf.upfronthosting.co.za> |
2014-06-28 18:06:22 | ned.deily | link | issue5638 messages |
2014-06-28 18:06:21 | ned.deily | create | |
|