git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] tests: skip dav http-push tests under NO_EXPAT=NoThanks

From
Jeff King <peff@peff.net>
Date
May 7, 2015, 16:13 UTC
Message-ID
<20150507161311.GA26219@peff.net>
In-Reply-To
<xmqqzj5gqsnd.fsf_-_@gitster.dls.corp.google.com>
On Thu, May 07, 2015 at 09:06:14AM -0700, Junio C Hamano wrote:
> When built with NO_EXPAT=NoThanks, we will not have a working http-push
> over webdav.

Hmph, I used to build with NO_EXPAT long ago and don't remember running into this, but it is clearly broken now. I wonder what bizarre combination of leftover build products made it work. ;)

Show 13 quoted lines
> diff --git a/t/lib-httpd.sh b/t/lib-httpd.sh
> index 872a252..d823664 100644
> --- a/t/lib-httpd.sh
> +++ b/t/lib-httpd.sh
> @@ -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

I was confused at first why this is in lib-httpd.sh and not 5540, but I see LIB_HTTPD_DAV is provided by t5540 as a feature flag to lib-httpd.sh. I learn something new every day about our test infrastructure.

-Peff
Previous: Junio C Hamano
Message 6 of 6 in “t5540: skip under NO_CURL=NoThanks”
  1. t5540: skip under NO_CURL=NoThanksJunio C Hamano, May 6, 2015
  2. Jeff KingMay 6, 2015
  3. Jeff KingMay 6, 2015
  4. Junio C HamanoMay 6, 2015
  5. Junio C HamanoMay 7, 2015
  6. Jeff KingMay 7, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.