Thread (4 messages) flat view 4 messages, 3 authors, 2016-06-15

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

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:19

Johannes Schindelin [off-list ref] 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help