From: Jeff King <peff@peff.net>
To: Junio C Hamano <gitster@pobox.com>
Cc: "Robin H. Johnson" <robbat2@gentoo.org>,
Git Mailing List <git@vger.kernel.org>
Subject: [PATCH 0/4] NO_PERL support
Date: Fri, 3 Apr 2009 15:27:01 -0400 [thread overview]
Message-ID: <20090403192700.GA14965@coredump.intra.peff.net> (raw)
In-Reply-To: <20090403T065545Z@curie.orbis-terrarum.net>
OK, here is a series based on Robin's patch that I think is suitable for
inclusion in mainstream git. The first two are related cleanups, the
third is a rebase of what I sent earlier today, and the fourth covers
the matching tests.
1/4: commit: abort commit if interactive add failed
2/4: tests: remove exit after test_done call
3/4: Makefile: allow building without perl
4/4: tests: skip perl tests if NO_PERL is defined
With these applied, you can build and pass the tests with NO_PERL
defined. _But_ you still can't pass the tests without perl installed at
all, as several of the other tests rely on perl to do text munging in
the tests. I'm not sure it is possible to rewrite them not to use perl;
we ended up with perl in the first place because many versions of
standard tools like sed don't handle NULs very well. So I think the only
option would be to skip those tests, too.
Breaking my perl installation yields these failing tests:
$ cat <<'EOF' >$HOME/local/bin
#!/bin/sh
echo >&2 I am a broken perl.
exit 1
EOF
$ make test NO_PERL=NoThanks
...
$ cd t && grep 'failed [^0]' test-results/*
test-results/t0020-crlf-25091:failed 16
test-results/t1300-repo-config-30265:failed 2
test-results/t3300-funny-names-4931:failed 3
test-results/t4012-diff-binary-22876:failed 1
test-results/t4014-format-patch-23170:failed 14
test-results/t4020-diff-external-25409:failed 2
test-results/t4029-diff-trailing-space-26781:failed 1
test-results/t4030-diff-textconv-26899:failed 5
test-results/t4031-diff-rewrite-binary-26911:failed 1
test-results/t4103-apply-binary-28344:failed 8
test-results/t4116-apply-reverse-29276:failed 7
test-results/t4200-rerere-30898:failed 1
test-results/t5300-pack-object-983:failed 24
test-results/t5303-pack-corruption-resilience-2980:failed 3
test-results/t6002-rev-list-bisect-17175:failed 12
test-results/t6003-rev-list-topo-order-17683:failed 31
test-results/t6011-rev-list-with-bad-commit-19971:failed 3
test-results/t6013-rev-list-reverse-parents-20684:failed 2
test-results/t8001-annotate-11125:failed 10
test-results/t8002-blame-11523:failed 10
next prev parent reply other threads:[~2009-04-03 19:28 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-03 7:03 [PATCH] NO_PERL support Robin H. Johnson
2009-04-03 13:20 ` Jeff King
2009-04-03 14:51 ` Johannes Schindelin
2009-04-03 14:53 ` Jeff King
2009-04-03 15:02 ` Johannes Schindelin
2009-04-03 15:11 ` Miklos Vajna
2009-04-03 15:16 ` Jeff King
2009-04-03 17:54 ` Johannes Sixt
2009-04-03 18:37 ` Jeff King
2009-04-03 15:46 ` Jeff King
2009-04-03 15:59 ` Robin H. Johnson
2009-04-03 16:18 ` Jeff King
2009-04-03 16:25 ` Junio C Hamano
2009-04-03 17:15 ` Jeff King
2009-04-03 20:20 ` Junio C Hamano
2009-04-03 20:56 ` Jeff King
2009-04-03 19:27 ` Jeff King [this message]
2009-04-03 19:28 ` [PATCH 1/4] commit: abort commit if interactive add failed Jeff King
2009-04-03 19:31 ` [PATCH 2/4] tests: remove exit after test_done call Jeff King
2009-04-03 19:32 ` [PATCH 3/4] Makefile: allow building without perl Jeff King
2009-04-04 22:47 ` Robin H. Johnson
2009-04-04 23:39 ` Jeff King
2009-04-04 23:51 ` Robin H. Johnson
2009-04-04 23:56 ` Jeff King
2009-04-05 0:06 ` Robin H. Johnson
2009-04-07 7:27 ` Jeff King
2009-04-03 19:33 ` [PATCH 4/4] tests: skip perl tests if NO_PERL is defined Jeff King
2009-04-04 23:30 ` Robin H. Johnson
2009-04-04 23:42 ` Jeff King
2009-04-07 7:31 ` [PATCH 0/4] NO_PERL support Jeff King
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=20090403192700.GA14965@coredump.intra.peff.net \
--to=peff@peff.net \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=robbat2@gentoo.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).