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

Re: perl t9700 failures?

From
LWLea Wiemann <lewiemann@gmail.com>
Date
Jun 29, 2008, 22:56 UTC
Message-ID
<4868130F.2080600@gmail.com>
In-Reply-To
<7vzlp47zy8.fsf@gitster.siamese.dyndns.org>
Junio C Hamano wrote:
> +perl -MTest::More -e 0 2>/dev/null || {
> +	say skip "Perl Test::More unavailable, skipping test"

That looks fine -- the git scripts that use Git.pm are still tested separately, so even if this test is skipped, Git.pm can be assumed to not be broken.

Jakub Narebski wrote:
> +perl -MTest::More -e '' >/dev/null 2>&1 || {
> [...]
> +perl -e 'use 5.006002;' >/dev/null 2>&1 || {

I don't think checking for 5.6.2 (which is the version in which Test::More was added) is actually necessary. If someone installs Test::More on an older Perl version, we might as well run the tests -- apparently Git.pm works even with older versions, since t3701-add-interactive.sh seems to work fine for Linus.

Johannes Schindelin wrote:
> And given that I _actively_  warned [...] I
> am actually a little pleased
Johannes, I'd actually be a little pleased if you either
- stop "actively warning" and start actively sending patches, or
- spare the list (and in particular, my mailbox) your whining.
TIA.
Previous: Jakub NarebskiNext: Johannes Sixt
Message 6 of 9 in “perl t9700 failures?”
  1. Linus TorvaldsJun 29, 2008
  2. Junio C HamanoJun 29, 2008
  3. Linus TorvaldsJun 30, 2008
  4. Junio C HamanoJun 29, 2008
  5. Jakub NarebskiJun 29, 2008
  6. Lea WiemannJun 29, 2008
  7. Johannes SixtJun 30, 2008
  8. Skip Perl interface (Git.pm) tests if requirements not fullfilledJakub Narebski, Jun 29, 2008
  9. Johannes SchindelinJun 29, 2008

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.