Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t/lib-httpd.sh: skip tests if NO_CURL is defined
[gitweb.git]
/
t
/
lib-httpd.sh
diff --git
a/t/lib-httpd.sh
b/t/lib-httpd.sh
index 252cbf163bcff90aabe39a48219e00565f577ffe..872a252d580a8c3a7001f551d08c028f35dcf410 100644
(file)
--- a/
t/lib-httpd.sh
+++ b/
t/lib-httpd.sh
@@
-30,6
+30,12
@@
# Copyright (c) 2008 Clemens Buchacher <drizzd@aon.at>
#
+if test -n "$NO_CURL"
+then
+ skip_all='skipping test, git built without http support'
+ test_done
+fi
+
test_tristate GIT_TEST_HTTPD
if test "$GIT_TEST_HTTPD" = false
then