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 <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Jeff King committed
Apr 24, 2009 at 09:56 UTC
a766829458d2ecdc09f42076775ce4d6d4c9d1a8
1 file changed
+5
t/t7800-difftool.sh
+5
@@ -10,6 +10,11 @@ Testing basic diff tool invocation
10
11
. ./test-lib.sh
12
13
+if ! test_have_prereq PERL; then
14
+ say 'skipping difftool tests, perl not available'
15
+ test_done
16
+fi
17
+
18
remove_config_vars()
19
{
20
# Unset all config variables used by git-difftool