]> asedeno.scripts.mit.edu Git - git.git/commitdiff
t5800: testgit helper requires Python support
authorJonathan Nieder <jrnieder@gmail.com>
Mon, 12 Apr 2010 14:24:28 +0000 (09:24 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 13 Apr 2010 05:10:50 +0000 (22:10 -0700)
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>
t/t5800-remote-helpers.sh

index eb31709b979011142f04079583e8340474cb8695..75a0163c074724513accc9f2a482d72d9e51532c 100755 (executable)
@@ -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 &&