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

Re: t5545: reduced test coverage

From
Junio C Hamano <gitster@pobox.com>
Date
May 17, 2017, 03:56 UTC
Message-ID
<xmqqmvacxhk0.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<xmqqbmqsyzn7.fsf@gitster.mtv.corp.google.com>
Junio C Hamano <gitster@pobox.com> writes:
Show 5 quoted lines
> It appears to me that only a few tests in the entire script wants to
> work with HTTP server, so perhaps moving them to the end, together
> with the inclusion of lib-httpd and start_httpd that 438fc684 ("push
> options: pass push options to the transport helper", 2017-02-08)
> introduced, may be sufficient?

Probably not, as lib-httpd, when it gives up, does the "skip_all=message; test_done" thing, which makes test_done to trigger this:

	# Maybe print SKIP message
	if test -n "$skip_all" && test $test_count -gt 0
	then
		error "Can't use skip_all after running some tests"
	fi

So a bit more work is needed, than just moving things around, I am afraid...

Previous: Stefan BellerNext: Junio C Hamano
Message 4 of 7 in “t5545: reduced test coverage”
  1. Ramsay JonesMay 16, 2017
  2. Junio C HamanoMay 17, 2017
  3. t5545: enhance test coverage when no http server is installedStefan Beller, May 17, 2017
  4. Junio C HamanoMay 17, 2017
  5. Junio C HamanoMay 17, 2017
  6. Ramsay JonesMay 17, 2017
  7. Junio C HamanoMay 18, 2017

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.