Skip to content

Commit a766829

Browse files
peffgitster
authored andcommitted
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>
1 parent cd294bc commit a766829

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

t/t7800-difftool.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ Testing basic diff tool invocation
1010

1111
. ./test-lib.sh
1212

13+
if ! test_have_prereq PERL; then
14+
say 'skipping difftool tests, perl not available'
15+
test_done
16+
fi
17+
1318
remove_config_vars()
1419
{
1520
# Unset all config variables used by git-difftool

0 commit comments

Comments
 (0)