1. Stefan Saasen
  2. git

Commits

Jeff King  committed a766829

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>

  • Participants
  • Parent commits cd294bc
  • Branches master

Comments (0)

Files changed (1)

File t/t7800-difftool.sh

View file
  • Ignore whitespace
 
 . ./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