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

Re: [PATCH 1/2] unit-tests: reshuffle NOOP arguments to maintain order

From
Patrick Steinhardt <ps@pks.im>
Date
Oct 23, 2026, 06:50 UTC
Message-ID
<atsDuCBc5J2lXOuU@pks.im>
In-Reply-To
<20261022-ks-unit-tests-ignore-long-tests-v1-1-554a590d418b@gmail.com>
On Thu, Oct 22, 2026 at 04:31:57PM +0530, Kaartic Sivaraam wrote:
Show 18 quoted lines
> diff --git a/t/unit-tests/unit-test.c b/t/unit-tests/unit-test.c
> index 752fb38fb3..d066c8a4c8 100644
> --- a/t/unit-tests/unit-test.c
> +++ b/t/unit-tests/unit-test.c
> @@ -33,12 +33,12 @@ int cmd_main(int argc, const char **argv)
>  		OPT_NOOP_ARG(0, "root"),
>  		OPT_NOOP_ARG(0, "stress"),
>  		OPT_NOOP_NOARG(0, "tee"),
> -		OPT_NOOP_NOARG(0, "with-dashes"),
>  		OPT_NOOP_ARG(0, "valgrind"),
>  		OPT_NOOP_ARG(0, "valgrind-only"),
>  		OPT_NOOP_NOARG('v', "verbose"),
>  		OPT_NOOP_NOARG('V', "verbose-log"),
>  		OPT_NOOP_ARG(0, "verbose-only"),
> +		OPT_NOOP_NOARG(0, "with-dashes"),
>  		OPT_NOOP_NOARG('x', NULL),
>  		OPT_END(),
>  	};
Makes sense, and the list is indeed sorted after this change.
Patrick
Previous: Kaartic SivaraamNext: Kaartic Sivaraam
Message 3 of 12 in “Make our clar tests ignore the long-tests argument”
  1. 0/2 Make our clar tests ignore the long-tests argumentKaartic Sivaraam, Oct 22, 2026
  2. 1/2 unit-tests: reshuffle NOOP arguments to maintain orderKaartic Sivaraam, Oct 22, 2026
  3. Patrick SteinhardtOct 23, 2026
  4. 2/2 unit-tests: ignore --long-testsKaartic Sivaraam, Oct 22, 2026
  5. Patrick SteinhardtOct 23, 2026
  6. Kaartic SivaraamOct 23, 2026
  7. 0/2 Make our clar tests ignore the long-tests argumentKaartic Sivaraam, Oct 26, 2026
  8. 1/2 unit-tests: reshuffle NOOP arguments to maintain orderKaartic Sivaraam, Oct 26, 2026
  9. 2/2 unit-tests: ignore --long-testsKaartic Sivaraam, Oct 26, 2026
  10. Patrick SteinhardtOct 26, 2026
  11. Junio C HamanoOct 26, 2026
  12. Jeff KingOct 27, 2026

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.