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

Re: [PATCH] t0450: fix test for out-of-tree builds

From
Toon Claes <toon@iotcl.com>
Date
Aug 5, 2025, 12:11 UTC
Message-ID
<8734a6ufwu.fsf@iotcl.com>
In-Reply-To
<aJBnuOcQQ1AY6hR4@pks.im>
Patrick Steinhardt <ps@pks.im> writes:
> Ok, the change itself looks reasonable to me. One question that the
> commit message doesn't answer though is why this didn't cause the test
> to fail.

Ah yes, I should have pointed that out in the commit message. But as you say, in short it simply skips the tests is if cannot find the .adoc.

> [snip]
Show 9 quoted lines
> Which indicates that this prereq is overly loose: ideally we should not
> skip such tests, but rather print an error that something is fishy. I
> suspect that we have the prereq in place because there are some builtins
> that don't have a corresponding manpage though.
>
> Maybe this is something we could explore: what breaks if we remove the
> prereq entirely? And if this breakage is limited to a small number of
> builtins we can maybe use an explicit skip-list like we already do with
> "t/t0450/adoc-help-mismatches".

I think that's a great change we should make on top. Being explicit about which subcommands do not require documentation is better than simply letting them slide through. Every new subcommand would require documentation, and if not so, adding them to a list somewhere makes it clear why.

-- 
Cheers,
Toon
Previous: Patrick SteinhardtNext: Toon Claes
Message 3 of 12 in “t0450: fix test for out-of-tree builds”
  1. t0450: fix test for out-of-tree buildsToon Claes, Aug 4, 2025
  2. Patrick SteinhardtAug 4, 2025
  3. Toon ClaesAug 5, 2025
  4. 0/2 Harden test t0450-txt-doc-vs-helpToon Claes, Aug 8, 2025
  5. 1/2 t0450: fix test for out-of-tree buildsToon Claes, Aug 8, 2025
  6. 2/2 t0450: add allowlist for builtins with missing .adocToon Claes, Aug 8, 2025
  7. Junio C HamanoAug 8, 2025
  8. Patrick SteinhardtAug 12, 2025
  9. Junio C HamanoAug 28, 2025
  10. Junio C HamanoSep 2, 2025
  11. Toon ClaesSep 3, 2025
  12. Junio C HamanoSep 3, 2025

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.