From a766829458d2ecdc09f42076775ce4d6d4c9d1a8 Mon Sep 17 00:00:00 2001 From: Jeff King Date: Fri, 24 Apr 2009 09:56:14 -0400 Subject: [PATCH] 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 --- t/t7800-difftool.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/t/t7800-difftool.sh b/t/t7800-difftool.sh index 2586f864a0..ebdccf9a1e 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 -- 2.11.4.GIT