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

Re: [PATCH] test-lib: allow storing counts with test harnesses

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 6, 2023, 18:15 UTC
Message-ID
<xmqqr0u1agq8.fsf@gitster.g>
In-Reply-To
<ZAWq5VFE/UjjtPJS@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 8 quoted lines
> So would it be worth it to just revert 8ef1abe550, and always store the
> meta-files? That's one less option to support, and one less surprise
> when some other feature is built around them.
>
> Or is there some reason that we really want to have a mode where nothing
> is written into t/? From reading 8ef1abe550 it sounded like this was
> mostly a hygiene / optimization thing, and not some special mode we
> cared about supporting.

Interesting thought. It would simplify our lives to have fewer conditionally-moving parts.

>>  t/test-lib.sh | 4 +++-
>>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> The patch itself looks correct, if we want to go with a --counts option.
Yes.
Previous: Jeff KingNext: Elijah Newren
Message 4 of 5 in “test-lib: allow storing counts with test harnesses”
  1. test-lib: allow storing counts with test harnessesAdam Dinwoodie, Dec 24, 2022
  2. test-lib: allow storing counts with test harnessesAdam Dinwoodie, Mar 4, 2023
  3. Jeff KingMar 6, 2023
  4. Junio C HamanoMar 6, 2023
  5. Elijah NewrenApr 1, 2023

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.