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, 2 Nov 2011 19:42:29 +0000 (19:42 +0000)
commite2249b7ce1dd0a2f8f110e0e47aca397185a6373
treec872cc3720037f689a70068631bcf8b7f044a05e
parent25454b83082a4cfed4f1664d2f9cdfcb222ba7c2
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.
python/Makefile.am
python/run-bindtests
python/run-python-tests