git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] t7800: respect NO_PERL

From
Jeff King <peff@peff.net>
Date
Apr 24, 2009, 13:56 UTC
Message-ID
<20090424135614.GA10761@coredump.intra.peff.net>

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
Message 1 of 1 in “t7800: respect NO_PERL”
  1. t7800: respect NO_PERLJeff King, Apr 24, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.