From: Jeff King Date: Fri, 24 Apr 2009 13:56:14 +0000 (-0400) Subject: t7800: respect NO_PERL X-Git-Tag: v1.6.3-rc2~2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a766829458d2ecdc09f42076775ce4d6d4c9d1a8;p=git.git t7800: respect NO_PERL Difftool is written in perl, so we don't build it if NO_PERL is set. Signed-off-by: Jeff King Signed-off-by: Junio C Hamano --- diff --git a/t/t7800-difftool.sh b/t/t7800-difftool.sh index 2586f864a..ebdccf9a1 100755 --- a/t/t7800-difftool.sh +++ b/t/t7800-difftool.sh @@ -10,6 +10,11 @@ Testing basic diff tool invocation . ./test-lib.sh +if ! test_have_prereq PERL; then + say 'skipping difftool tests, perl not available' + test_done +fi + remove_config_vars() { # Unset all config variables used by git-difftool