Re: [PATCH 5/5] Optionally work without python

From: Junio C Hamano <junkio@cox.net>
Date: 2006-02-18 17:50:28
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:

> In some setups (notably server setups) you do not need that dependency.
> Gracefully handle the absence of python when NO_PYTHON is defined.

> +ifdef NO_PYTHON
> +	TEST_DEFS += NO_PYTHON=YesPlease
> +endif

I wonder if there is a better way to do this.  All future
NO_BLAH that may affect tests need to have something like this
otherwise.

> -default_strategies='recursive'
> +if test -z "@@NO_PYTHON@@"; then
> +	default_strategies='recursive'
> +else
> +	default_strategies='resolve'
> +fi

Somebody commented on this part to make it shorter...

I'll take 2, 3, and 4 from this series for now.  They will
appear in "next".  Thanks.



-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Sat Feb 18 17:51:06 2006

This archive was generated by hypermail 2.1.8 : 2006-02-18 17:53:18 EST