t5800: testgit helper requires Python support

git remote-testgit is written in Python.  In a NO_PYTHON build, tests
using it would fail, so skip them.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Jonathan Nieder 2010-04-12 09:24:28 -05:00 committed by Junio C Hamano
parent f733f6a0c6
commit 63a2f6139c

View File

@ -7,6 +7,12 @@ test_description='Test remote-helper import and export commands'
. ./test-lib.sh
if ! test_have_prereq PYTHON
then
say 'skipping git remote-testgit tests: requires Python support'
test_done
fi
test_expect_success 'setup repository' '
git init --bare server/.git &&
git clone server public &&