Skip to content

Commit

Permalink
Merge branch 'jn/test-prereq-perl-doc' into maint
Browse files Browse the repository at this point in the history
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
  • Loading branch information
gitster committed Nov 8, 2013
2 parents 4bc3d3f + f8fc0ee commit cdc0c0f
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions t/README
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit cdc0c0f

Please sign in to comment.