Re: [PATCH 2/2] t/t5800: skip if python version is older than 2.5
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- Aug 17, 2010, 23:15 UTC
- Message-ID
- <AANLkTimwNBAKwhKwsquDS4k3x0_iDo3rEyqFfhMcsb38@mail.gmail.com>
- In-Reply-To
- <injaoVtrfs7Li4aYBNxEQeawf3YbhxcYbL79Jvef2ML9502YRtjqEol2RVKBzXfH_PfbMep0lvU@cipher.nrlssc.navy.mil>
Heya,
On Wed, Jun 2, 2010 at 18:23, Brandon Casey <casey@nrlssc.navy.mil> wrote:
Show 6 quoted lines
> -if ! test_have_prereq PYTHON > +if ! test_have_prereq PYTHON || ! "$PYTHON_PATH" -c ' > +import sys > +if sys.hexversion < 0x02050000: > + sys.exit(1) > +'
I just checkout out this revision, there is no PYTHON_PATH variable. So:
sverre@laptop-sverre:~/code/git/t$ make t5800-remote-helpers.sh *** t5800-remote-helpers.sh *** t5800-remote-helpers.sh: line 10: : command not found * skipping git remote-testgit tests: requires Python 2.5 or newer * passed all 0 test(s)
I'm not sure what is wrong here, but somehow the PYTHON_PATH variable is not propagated to the script?
-- Cheers, Sverre Rabbelier