mirror of
https://github.com/git/git.git
synced 2024-11-28 12:34:08 +08:00
tests: skip dav http-push tests under NO_EXPAT=NoThanks
When built with NO_EXPAT=NoThanks, we will not have a working http-push over webdav. Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
c9d441a899
commit
309a9e3373
1
Makefile
1
Makefile
@ -2188,6 +2188,7 @@ GIT-BUILD-OPTIONS: FORCE
|
||||
@echo PYTHON_PATH=\''$(subst ','\'',$(PYTHON_PATH_SQ))'\' >>$@
|
||||
@echo TAR=\''$(subst ','\'',$(subst ','\'',$(TAR)))'\' >>$@
|
||||
@echo NO_CURL=\''$(subst ','\'',$(subst ','\'',$(NO_CURL)))'\' >>$@
|
||||
@echo NO_EXPAT=\''$(subst ','\'',$(subst ','\'',$(NO_EXPAT)))'\' >>$@
|
||||
@echo USE_LIBPCRE=\''$(subst ','\'',$(subst ','\'',$(USE_LIBPCRE)))'\' >>$@
|
||||
@echo NO_PERL=\''$(subst ','\'',$(subst ','\'',$(NO_PERL)))'\' >>$@
|
||||
@echo NO_PYTHON=\''$(subst ','\'',$(subst ','\'',$(NO_PYTHON)))'\' >>$@
|
||||
|
@ -36,6 +36,12 @@ then
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user