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:05:38 +0000 (22:05 +0000)
commita936a9e1ed1fb89c6a9e05be70614337e9f62ca9
tree8f1903a5bead3092f7d5129abe63b613bcb40b04
parentf3dfc7a0de14ee6f833580aea827c892493fbfaa
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