* [PATCH] tests: disable interactive hunk selection tests if perl not available
@ 2009-08-18 6:12 Jeff King
2009-08-18 8:33 ` Thomas Rast
0 siblings, 1 reply; 2+ messages in thread
From: Jeff King @ 2009-08-18 6:12 UTC (permalink / raw)
To: Junio C Hamano; +Cc: Thomas Rast, git
These are all backed by git-add--interactive.perl under the
hood.
Signed-off-by: Jeff King <peff@peff.net>
---
On top of tr/reset-checkout-patch.
t/lib-patch-mode.sh | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/t/lib-patch-mode.sh b/t/lib-patch-mode.sh
index afb4b66..75a3ee2 100755
--- a/t/lib-patch-mode.sh
+++ b/t/lib-patch-mode.sh
@@ -1,5 +1,10 @@
. ./test-lib.sh
+if ! test_have_prereq PERL; then
+ say 'skipping --patch tests, perl not available'
+ test_done
+fi
+
set_state () {
echo "$3" > "$1" &&
git add "$1" &&
--
1.6.4.301.g8099b
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] tests: disable interactive hunk selection tests if perl not available
2009-08-18 6:12 [PATCH] tests: disable interactive hunk selection tests if perl not available Jeff King
@ 2009-08-18 8:33 ` Thomas Rast
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Rast @ 2009-08-18 8:33 UTC (permalink / raw)
To: Jeff King; +Cc: Junio C Hamano, git
Jeff King wrote:
> +++ b/t/lib-patch-mode.sh
> @@ -1,5 +1,10 @@
> . ./test-lib.sh
>
> +if ! test_have_prereq PERL; then
Thanks. I always forget about these little things...
Acked-By: Thomas Rast <trast@student.ethz.ch>
--
Thomas Rast
trast@{inf,student}.ethz.ch
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-08-18 8:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-18 6:12 [PATCH] tests: disable interactive hunk selection tests if perl not available Jeff King
2009-08-18 8:33 ` Thomas Rast
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 NNTP newsgroup(s).