git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] t7800: respect NO_PERL
@ 2009-04-24 13:56 Jeff King
  0 siblings, 0 replies; only message in thread
From: Jeff King @ 2009-04-24 13:56 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git

Difftool is written in perl, so we don't build it if NO_PERL
is set.

Signed-off-by: Jeff King <peff@peff.net>
---
 t/t7800-difftool.sh |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/t/t7800-difftool.sh b/t/t7800-difftool.sh
index 2586f86..ebdccf9 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
-- 
1.6.3.rc1.226.ga8d61c

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-04-24 13:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-24 13:56 [PATCH] t7800: respect NO_PERL Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).