python: Pass $PYTHON environment variable to tests.
authorRichard W.M. Jones <rjones@redhat.com>
Wed, 2 Nov 2011 19:42:29 +0000 (19:42 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 9 Nov 2011 22:12:19 +0000 (22:12 +0000)
commit49d80c6831ccb7fd949840bf9777129b7ce187bb
tree4c23c11ab6d987a6b18367089cdee46095a22a23
parentd25085255d74fbc12f46ea2f9500c903ee72768e
python: Pass $PYTHON environment variable to tests.

If the user set PYTHON when configuring, this variable is not passed
through to the tests, so it is possible the tests will fail because
they are testing the wrong version of python.  By passing $PYTHON
through to the tests we ensure that we test against the same version
of python that we configured with.

(cherry picked from commit e2249b7ce1dd0a2f8f110e0e47aca397185a6373)
python/Makefile.am
python/run-bindtests
python/run-python-tests