tests: handle NO_PYTHON setting
authorJeff King <redacted>
Mon, 7 Dec 2009 05:32:50 +0000 (00:32 -0500)
committerJunio C Hamano <redacted>
Mon, 7 Dec 2009 08:41:51 +0000 (00:41 -0800)
commitac10a85785baee56bb4a04ad5f847d15ffba0893
treeedc6dfc6483cbcdfced2a8c6271d74323f4edda8
parent53970b92d9dc883669f3a9b79b5e39e73931b331
tests: handle NO_PYTHON setting

Without this, test-lib checks that the git_remote_helpers
directory has been built. However, if we are building
without python, we will not have done anything at all in
that directory, and test-lib's sanity check will fail.

We bump the inclusion of GIT-BUILD-OPTIONS further up in
test-lib; it contains configuration, and as such should be
read before we do any checks (and in this particular case,
we need its value to do our check properly).

Signed-off-by: Jeff King <redacted>
Looks-fine-to-me-by: Brandon Casey <redacted>
Acked-by: Johan Herland <redacted>
Signed-off-by: Junio C Hamano <redacted>
Makefile
t/test-lib.sh
git clone https://git.99rst.org/PROJECT