Skip to content

Commit

Permalink
t7800: respect NO_PERL
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jeff King authored and Junio C Hamano committed Apr 24, 2009
1 parent cd294bc commit a766829
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions t/t7800-difftool.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a766829

Please sign in to comment.