From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
To: Git Mailing List <git@vger.kernel.org>
Subject: Git's tests have depended on Perl since at least 2006
Date: Fri, 13 Aug 2010 21:25:10 +0000 [thread overview]
Message-ID: <AANLkTim9aNtFdwM5m-FB_LWX96es2DR_9mU3rGcV4dME@mail.gmail.com> (raw)
This is just an interesting datapoint, but Git's test suite currently
crashes and burns if you don't have a perl in your $PATH, no matter if
you've compiled with NO_PERL=YesPlease or not. This has been the case
since at least 2006, or v1.3.0-rc1~13^2~34.
The affected tests are:
./t0000-basic.sh ./t0025-crlf-auto.sh ./t0080-vcs-svn.sh
./t0020-crlf.sh ./t1010-mktree.sh ./t1300-repo-config.sh
./t3300-funny-names.sh ./t4012-diff-binary.sh
./t4020-diff-external.sh ./t4014-format-patch.sh
./t4029-diff-trailing-space.sh ./t4031-diff-rewrite-binary.sh
./t4030-diff-textconv.sh ./t4043-diff-rename-binary.sh
./t4103-apply-binary.sh ./t4116-apply-reverse.sh ./t4200-rerere.sh
./t5303-pack-corruption-resilience.sh ./t5300-pack-object.sh
./t6011-rev-list-with-bad-commit.sh
./t6013-rev-list-reverse-parents.sh ./t6003-rev-list-topo-order.sh
I have a WIP patch series to tackle this issue:
http://github.com/avar/git/compare/git:pu...in-progress-dont-depend-on-perl
It adds a PERL dependency to things and changes perl to
"$PERL_PATH". Many things were implicitly depending on perl due to
this bit in test-lib.sh:
q_to_nul () {
perl -pe 'y/Q/\000/'
}
And many other bits do other things with perl but aren't declaring a
PERL dependency.
Anyway, I just thought I'd mention it, that this hasn't been fixed yet
would suggest that nearly everyone has perl anyway, and that maybe we
shouldn't think twice about introducing a perl dependency to things
when it's convenient.
next reply other threads:[~2010-08-13 21:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-13 21:25 Ævar Arnfjörð Bjarmason [this message]
2010-08-13 22:37 ` Git's tests have depended on Perl since at least 2006 Jonathan Nieder
2010-08-13 22:45 ` Junio C Hamano
2010-08-13 22:56 ` Ævar Arnfjörð Bjarmason
2010-08-13 23:30 ` Junio C Hamano
2010-08-13 23:44 ` Ævar Arnfjörð Bjarmason
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTim9aNtFdwM5m-FB_LWX96es2DR_9mU3rGcV4dME@mail.gmail.com \
--to=avarab@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).