Thread (31 messages) 31 messages, 8 authors, 2016-06-15

Re: [PATCH 2/2] t/t5800: skip if python version is older than 2.5

From: Sverre Rabbelier <hidden>
Date: 2016-06-15 22:49:20

Heya,

On Wed, Jun 2, 2010 at 18:23, Brandon Casey [off-list ref] wrote:
quoted hunk ↗ jump to hunk
-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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help