Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-05-22 22:41:44 +0300
committerJunio C Hamano <gitster@pobox.com>2015-05-22 22:41:44 +0300
commit8087a620863dde1c589f072abd4e6b9ef1017a62 (patch)
treef90fa9e990232e691a39499bf5b87c5afa7a13c0 /t/lib-httpd.sh
parent6263f58f86895096c21a07ad8dced76f84bd4708 (diff)
parent309a9e33731a56487944dbaa00073f8ee05c9f70 (diff)
Merge branch 'jk/skip-http-tests-under-no-curl'
Test clean-up. * jk/skip-http-tests-under-no-curl: tests: skip dav http-push tests under NO_EXPAT=NoThanks t/lib-httpd.sh: skip tests if NO_CURL is defined
Diffstat (limited to 't/lib-httpd.sh')
-rw-r--r--t/lib-httpd.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/t/lib-httpd.sh b/t/lib-httpd.sh
index e6adf2f82d..e9714467d0 100644
--- a/t/lib-httpd.sh
+++ b/t/lib-httpd.sh
@@ -30,6 +30,18 @@
# 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
+
+if test -n "$NO_EXPAT" && test -n "$LIB_HTTPD_DAV"
+then
+ skip_all='skipping test, git built without expat support'
+ test_done
+fi
+
test_tristate GIT_TEST_HTTPD
if test "$GIT_TEST_HTTPD" = false
then