summaryrefslogtreecommitdiff
path: root/t/test-lib.sh
diff options
context:
space:
mode:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2006-02-18 13:01:18 +0100
committerJunio C Hamano <junkio@cox.net>2006-02-18 23:16:09 -0800
commitabb7c7b31c0896bd838bbb6437b310db5a42227a (patch)
treeca184974f14d8cd61e1a7c25173edcae17c9e7cb /t/test-lib.sh
parent289c4b36e336af5266b86d924ef0aa828e8e4841 (diff)
downloadgit-abb7c7b31c0896bd838bbb6437b310db5a42227a.tar.gz
Optionally work without python
In some setups (notably server setups) you do not need that dependency. Gracefully handle the absence of python when NO_PYTHON is defined. Signed-off-by: Johannes E. Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't/test-lib.sh')
-rwxr-xr-xt/test-lib.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh
index 7a58a86f96..43c8e55a8b 100755
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -63,6 +63,8 @@ do
exit 0 ;;
-v|--v|--ve|--ver|--verb|--verbo|--verbos|--verbose)
verbose=t; shift ;;
+ --no-python)
+ no_python=t; shift ;;
*)
break ;;
esac