summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-11-08 12:01:58 -0800
committerJunio C Hamano <gitster@pobox.com>2013-11-08 12:01:58 -0800
commitcdc0c0f52075e67be432807add1879a0799df583 (patch)
treed199a9afc37c8d107c1ec0410cba5aafe3d2db94
parent4bc3d3fca0cb3a7845c7b15c7a7649a1202254b4 (diff)
parentf8fc0ee314d0e0c993d2edac8848a4cfe72c771f (diff)
downloadgit-cdc0c0f52075e67be432807add1879a0799df583.tar.gz
Merge branch 'jn/test-prereq-perl-doc' into maint
The interaction between use of Perl in our test suite and NO_PERL has been clarified a bit. * jn/test-prereq-perl-doc: t/README: tests can use perl even with NO_PERL
-rw-r--r--t/README15
1 files changed, 11 insertions, 4 deletions
diff --git a/t/README b/t/README
index 2167125008..0a939ebba0 100644
--- a/t/README
+++ b/t/README
@@ -629,11 +629,18 @@ See the prereq argument to the test_* functions in the "Test harness
library" section above and the "test_have_prereq" function for how to
use these, and "test_set_prereq" for how to define your own.
- - PERL & PYTHON
+ - PYTHON
- Git wasn't compiled with NO_PERL=YesPlease or
- NO_PYTHON=YesPlease. Wrap any tests that need Perl or Python in
- these.
+ Git wasn't compiled with NO_PYTHON=YesPlease. Wrap any tests that
+ need Python with this.
+
+ - PERL
+
+ Git wasn't compiled with NO_PERL=YesPlease.
+
+ Even without the PERL prerequisite, tests can assume there is a
+ usable perl interpreter at $PERL_PATH, though it need not be
+ particularly modern.
- POSIXPERM