# [PATCH 0/2] Make our clar tests ignore the long-tests argument

12 messages from 2026-10-22 to 2026-10-27. Participants: Kaartic Sivaraam, Patrick Steinhardt, Junio C Hamano, Jeff King.
Thread: https://gitlist.dev/t/66631

## Kaartic Sivaraam, 2026-10-22 11:01

Subject: [PATCH 0/2] Make our clar tests ignore the long-tests argument
Message-ID: <20261022-ks-unit-tests-ignore-long-tests-v1-0-554a590d418b@gmail.com>
URL: https://gitlist.dev/e/20261022-ks-unit-tests-ignore-long-tests-v1-0-554a590d418b%40gmail.com

```
This is a small patch to fix a hiccup I hit while trying to run
our test using the following incantation:

  $ meson test -v --test-args='-ilx'

  ...

  Summary of Failures:

     2/1063 unit-tests                                     FAIL            0.16s   (exit status 129 or signal 1 SIGHUP)

  Ok:                 1061
  Expected Fail:      0
  Fail:               1
  Unexpected Pass:    0
  Skipped:            1
  Timeout:            0

  Full log written to /path/to/testlog.txt

On some exploration, we find the following which shows us what's wrong:

  2/1063 unit-tests RUNNING       
  >>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=103 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /me/git-1/build/t/unit-tests -ilx
  ――――――――――――――――――――――――――――――――――――――――――――――― ✀  ――――――――――――――――――――――――――――――――――――――――――――――――
  error: unknown switch `l'
  usage: unit-test [<options>]

      -i, --[no-]immediate  immediately exit upon the first failed test
      -r, --[no-]run suite[::test]
                            run only test suite or individual test <suite[::test]>
      --[no-]exclude <suite>
                            exclude test suite <suite>

  ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
  2/1063 unit-tests FAIL            0.01s   (exit status 129 or signal 1 SIGHUP)

So, the '-l' switch that's passed to unit-tests is the problem.

On searching for how these were handled before, I stumbled across
9faf3963b6 (t: introduce compatibility options to clar-based tests,
2024-12-13) which handled this by adding such arguments as NOOP
arguments to t/unit-tests/unit-test.c. So, this patch does the same
to make unit-test ignore the '-l' passed to it.

The CI pipeline passes:

 - GitHub: https://github.com/sivaraam/git/actions/runs/39756087806
   (a couple of MacOS ones didn't run owing to the lack of a runner)

 - GitLab: https://gitlab.com/gitlab-org/git/-/pipelines/2975804623

Signed-off-by: Kaartic Sivaraam <kaartic.sivaraam@gmail.com>
---
Kaartic Sivaraam (2):
      unit-tests: reshuffle NOOP arguments to maintain order
      unit-tests: ignore --long-tests

 t/unit-tests/unit-test.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

${range_diff}
---
base-commit: 47fdf2208c5b94c8cc01c106b8f7c85efb91c926
change-id: 20261021-ks-unit-tests-ignore-long-tests-9f32078e9100
${prerequisites}



```

## Kaartic Sivaraam, 2026-10-22 11:01

Subject: [PATCH 1/2] unit-tests: reshuffle NOOP arguments to maintain order
Message-ID: <20261022-ks-unit-tests-ignore-long-tests-v1-1-554a590d418b@gmail.com>
URL: https://gitlist.dev/e/20261022-ks-unit-tests-ignore-long-tests-v1-1-554a590d418b%40gmail.com
In-Reply-To: <20261022-ks-unit-tests-ignore-long-tests-v1-0-554a590d418b@gmail.com>

```
Ever since 9faf3963b6 (t: introduce compatibility options to
clar-based tests, 2024-12-13), our clar tests have a few NOOP
arguments in order to accept the same arguments that our integration
tests accept. This makes it easy to pass in test arguments when both
unit and integration tests are run together such as via:

  $ meson test -v --test-args='-ix'

On a quick scan, the order of the NOOP arguments seem to be
alphabetical. That is only until you notice that 'with-dashes'
appears out of order.

Fix this by moving it into its appropriate place thus ensuring
they are in alphabetical order. This makes it easy for future
patches to not worry about where to place a NOOP argument
that is not yet in the list.

Signed-off-by: Kaartic Sivaraam <kaartic.sivaraam@gmail.com>
---
 t/unit-tests/unit-test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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(),
 	};

-- 
2.56.0.99.g5a7d1e8045.dirty



```

## Kaartic Sivaraam, 2026-10-22 11:01

Subject: [PATCH 2/2] unit-tests: ignore --long-tests
Message-ID: <20261022-ks-unit-tests-ignore-long-tests-v1-2-554a590d418b@gmail.com>
URL: https://gitlist.dev/e/20261022-ks-unit-tests-ignore-long-tests-v1-2-554a590d418b%40gmail.com
In-Reply-To: <20261022-ks-unit-tests-ignore-long-tests-v1-0-554a590d418b@gmail.com>

```
In the same spirit as 9faf3963b6 (t: introduce compatibility options to
clar-based tests, 2024-12-13), we should ignore -l / --long-tests passed
to our clar tests. It may be passed along while manually running tests
via a command as follows:

  $ meson test -v --test-args='-ilx'

So, ignore -l / --long-tests in our clar tests.

This does not show up as a problem while running our CI as we enable
the expensive prerequiiste via the GIT_TEST_LONG env variable.

Signed-off-by: Kaartic Sivaraam <kaartic.sivaraam@gmail.com>
---
 t/unit-tests/unit-test.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/t/unit-tests/unit-test.c b/t/unit-tests/unit-test.c
index d066c8a4c8..06ffd0f5bb 100644
--- a/t/unit-tests/unit-test.c
+++ b/t/unit-tests/unit-test.c
@@ -28,6 +28,7 @@ int cmd_main(int argc, const char **argv)
 		 */
 		OPT_NOOP_NOARG('d', "debug"),
 		OPT_NOOP_NOARG(0, "github-workflow-markup"),
+		OPT_NOOP_NOARG('l', "long-tests"),
 		OPT_NOOP_NOARG(0, "no-bin-wrappers"),
 		OPT_NOOP_ARG(0, "no-chain-lint"),
 		OPT_NOOP_ARG(0, "root"),

-- 
2.56.0.99.g5a7d1e8045.dirty



```

## Patrick Steinhardt, 2026-10-23 06:50

Subject: Re: [PATCH 1/2] unit-tests: reshuffle NOOP arguments to maintain order
Message-ID: <atsDuCBc5J2lXOuU@pks.im>
URL: https://gitlist.dev/e/atsDuCBc5J2lXOuU%40pks.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:
> 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


```

## Patrick Steinhardt, 2026-10-23 06:50

Subject: Re: [PATCH 2/2] unit-tests: ignore --long-tests
Message-ID: <atsDvfHx3_EkrI6Z@pks.im>
URL: https://gitlist.dev/e/atsDvfHx3_EkrI6Z%40pks.im
In-Reply-To: <20261022-ks-unit-tests-ignore-long-tests-v1-2-554a590d418b@gmail.com>

```
On Thu, Oct 22, 2026 at 04:31:58PM +0530, Kaartic Sivaraam wrote:
> In the same spirit as 9faf3963b6 (t: introduce compatibility options to
> clar-based tests, 2024-12-13), we should ignore -l / --long-tests passed
> to our clar tests. It may be passed along while manually running tests
> via a command as follows:
> 
>   $ meson test -v --test-args='-ilx'
> 
> So, ignore -l / --long-tests in our clar tests.

TIL, I didn't even know we had this switch to run long tests. That makes
me wonder whether we should have an "--features-testbed" switch to make
it easy to run tests same as our CI job that sets all those test
variables, and then adapt CI to use it. It's always a pain to specify
all of these environment variables.

That's of course outside of the scope of this patch series, but I've got
a pending series where I may be able to squeeze this into.

> This does not show up as a problem while running our CI as we enable
> the expensive prerequiiste via the GIT_TEST_LONG env variable.

s/prerequiiste/prerequisite/

> diff --git a/t/unit-tests/unit-test.c b/t/unit-tests/unit-test.c
> index d066c8a4c8..06ffd0f5bb 100644
> --- a/t/unit-tests/unit-test.c
> +++ b/t/unit-tests/unit-test.c
> @@ -28,6 +28,7 @@ int cmd_main(int argc, const char **argv)
>  		 */
>  		OPT_NOOP_NOARG('d', "debug"),
>  		OPT_NOOP_NOARG(0, "github-workflow-markup"),
> +		OPT_NOOP_NOARG('l', "long-tests"),
>  		OPT_NOOP_NOARG(0, "no-bin-wrappers"),
>  		OPT_NOOP_ARG(0, "no-chain-lint"),
>  		OPT_NOOP_ARG(0, "root"),

Looks obviously good to me, thanks!

Patrick


```

## Kaartic Sivaraam, 2026-10-23 07:15

Subject: Re: [PATCH 2/2] unit-tests: ignore --long-tests
Message-ID: <57e42fb9-b60d-43d5-abef-432ddf8da34d@gmail.com>
URL: https://gitlist.dev/e/57e42fb9-b60d-43d5-abef-432ddf8da34d%40gmail.com
In-Reply-To: <atsDvfHx3_EkrI6Z@pks.im>

```
On 10/23/26 12:20, Patrick Steinhardt wrote:
>>
>>    $ meson test -v --test-args='-ilx'
>>
>> So, ignore -l / --long-tests in our clar tests.
> > TIL, I didn't even know we had this switch to run long tests. That makes
> me wonder whether we should have an "--features-testbed" switch to make
> it easy to run tests same as our CI job that sets all those test
> variables, and then adapt CI to use it. It's always a pain to specify
> all of these environment variables.
> That would indeed be a good addition! It may help us easily emulate the feature-testbed job locally. I say "easy" hoping it does not need any kind of additional niche dependency in order to run locally. It seems so on taking a quick look at the the CI script :-)

> That's of course outside of the scope of this patch series, but I've got
> a pending series where I may be able to squeeze this into.
> Cool!

>> This does not show up as a problem while running our CI as we enable
>> the expensive prerequiiste via the GIT_TEST_LONG env variable.
> > s/prerequiiste/prerequisite/
>

Good catch. Will fix this!
>> diff --git a/t/unit-tests/unit-test.c b/t/unit-tests/unit-test.c
>> index d066c8a4c8..06ffd0f5bb 100644
>> --- a/t/unit-tests/unit-test.c
>> +++ b/t/unit-tests/unit-test.c
>> @@ -28,6 +28,7 @@ int cmd_main(int argc, const char **argv)
>>   		 */
>>   		OPT_NOOP_NOARG('d', "debug"),
>>   		OPT_NOOP_NOARG(0, "github-workflow-markup"),
>> +		OPT_NOOP_NOARG('l', "long-tests"),
>>   		OPT_NOOP_NOARG(0, "no-bin-wrappers"),
>>   		OPT_NOOP_ARG(0, "no-chain-lint"),
>>   		OPT_NOOP_ARG(0, "root"),
> > Looks obviously good to me, thanks!
>

Thanks for the prompt review!

-- 
Sivaraam



```

## Kaartic Sivaraam, 2026-10-26 07:31

Subject: [PATCH v2 0/2] Make our clar tests ignore the long-tests argument
Message-ID: <20261026-ks-unit-tests-ignore-long-tests-v2-0-fdbbefbd19fb@gmail.com>
URL: https://gitlist.dev/e/20261026-ks-unit-tests-ignore-long-tests-v2-0-fdbbefbd19fb%40gmail.com
In-Reply-To: <20261022-ks-unit-tests-ignore-long-tests-v1-0-554a590d418b@gmail.com>

```
(Resending in the proper thread. Still trying to figure out how to make b4 send
 v2 in the proper thread. Sorry for the noise!)

This is a small patch to fix a hiccup I hit while trying to run
our test using the following incantation:

  $ meson test -v --test-args='-ilx'

  ...

  Summary of Failures:

     2/1063 unit-tests                                     FAIL            0.16s   (exit status 129 or signal 1 SIGHUP)

  Ok:                 1061
  Expected Fail:      0
  Fail:               1
  Unexpected Pass:    0
  Skipped:            1
  Timeout:            0

  Full log written to /path/to/testlog.txt

On some exploration, we find the following which shows us what's wrong:

  2/1063 unit-tests RUNNING
  >>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=103 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /me/git-1/build/t/unit-tests -ilx
  ――――――――――――――――――――――――――――――――――――――――――――――― ✀  ――――――――――――――――――――――――――――――――――――――――――――――――
  error: unknown switch `l'
  usage: unit-test [<options>]

      -i, --[no-]immediate  immediately exit upon the first failed test
      -r, --[no-]run suite[::test]
                            run only test suite or individual test <suite[::test]>
      --[no-]exclude <suite>
                            exclude test suite <suite>

  ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
  2/1063 unit-tests FAIL            0.01s   (exit status 129 or signal 1 SIGHUP)

So, the '-l' switch that's passed to unit-tests is the problem.

On searching for how these were handled before, I stumbled across
9faf3963b6 (t: introduce compatibility options to clar-based tests,
2024-12-13) which handled this by adding such arguments as NOOP
arguments to t/unit-tests/unit-test.c. So, this patch does the same
to make unit-test ignore the '-l' passed to it.

The CI pipeline passes (for v1. v2 only had a commit message change):

 - GitHub: https://github.com/sivaraam/git/actions/runs/39756087806
   (a couple of MacOS ones didn't run owing to the lack of a runner)

- GitLab: https://gitlab.com/gitlab-org/git/-/pipelines/2975804623

---
Changes in v2:
- Fixed the s/prerequiiste/prerequisite/ typo in the commit message

- Link to v1: https://lore.kernel.org/r/20261022-ks-unit-tests-ignore-long-tests-v1-0-554a590d418b@gmail.com

Range-diff vs. v1:

1:  66759f627c = 1:  60bc3f0d83 unit-tests: reshuffle NOOP arguments to maintain order
2:  0bea06fe46 ! 2:  c39dd72a2b unit-tests: ignore --long-tests
    @@ Commit message
         So, ignore -l / --long-tests in our clar tests.

         This does not show up as a problem while running our CI as we enable
    -    the expensive prerequiiste via the GIT_TEST_LONG env variable.
    +    the expensive prerequisite via the GIT_TEST_LONG env variable.

         Signed-off-by: Kaartic Sivaraam <kaartic.sivaraam@gmail.com>

---
Kaartic Sivaraam (2):
      unit-tests: reshuffle NOOP arguments to maintain order
      unit-tests: ignore --long-tests

 t/unit-tests/unit-test.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

---
base-commit: 47fdf2208c5b94c8cc01c106b8f7c85efb91c926
change-id: 20261021-ks-unit-tests-ignore-long-tests-9f32078e9100
-- 
Kaartic Sivaraam <kaartic.sivaraam@gmail.com>



```

## Kaartic Sivaraam, 2026-10-26 07:31

Subject: [PATCH v2 1/2] unit-tests: reshuffle NOOP arguments to maintain order
Message-ID: <20261026-ks-unit-tests-ignore-long-tests-v2-1-fdbbefbd19fb@gmail.com>
URL: https://gitlist.dev/e/20261026-ks-unit-tests-ignore-long-tests-v2-1-fdbbefbd19fb%40gmail.com
In-Reply-To: <20261026-ks-unit-tests-ignore-long-tests-v2-0-fdbbefbd19fb@gmail.com>

```
Ever since 9faf3963b6 (t: introduce compatibility options to
clar-based tests, 2024-12-13), our clar tests have a few NOOP
arguments in order to accept the same arguments that our integration
tests accept. This makes it easy to pass in test arguments when both
unit and integration tests are run together such as via:

  $ meson test -v --test-args='-ix'

On a quick scan, the order of the NOOP arguments seem to be
alphabetical. That is only until you notice that 'with-dashes'
appears out of order.

Fix this by moving it into its appropriate place thus ensuring
they are in alphabetical order. This makes it easy for future
patches to not worry about where to place a NOOP argument
that is not yet in the list.

Signed-off-by: Kaartic Sivaraam <kaartic.sivaraam@gmail.com>
---
 t/unit-tests/unit-test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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(),
 	};

-- 
2.56.0.99.g5a7d1e8045.dirty



```

## Kaartic Sivaraam, 2026-10-26 07:31

Subject: [PATCH v2 2/2] unit-tests: ignore --long-tests
Message-ID: <20261026-ks-unit-tests-ignore-long-tests-v2-2-fdbbefbd19fb@gmail.com>
URL: https://gitlist.dev/e/20261026-ks-unit-tests-ignore-long-tests-v2-2-fdbbefbd19fb%40gmail.com
In-Reply-To: <20261026-ks-unit-tests-ignore-long-tests-v2-0-fdbbefbd19fb@gmail.com>

```
In the same spirit as 9faf3963b6 (t: introduce compatibility options to
clar-based tests, 2024-12-13), we should ignore -l / --long-tests passed
to our clar tests. It may be passed along while manually running tests
via a command as follows:

  $ meson test -v --test-args='-ilx'

So, ignore -l / --long-tests in our clar tests.

This does not show up as a problem while running our CI as we enable
the expensive prerequisite via the GIT_TEST_LONG env variable.

Signed-off-by: Kaartic Sivaraam <kaartic.sivaraam@gmail.com>
---
 t/unit-tests/unit-test.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/t/unit-tests/unit-test.c b/t/unit-tests/unit-test.c
index d066c8a4c8..06ffd0f5bb 100644
--- a/t/unit-tests/unit-test.c
+++ b/t/unit-tests/unit-test.c
@@ -28,6 +28,7 @@ int cmd_main(int argc, const char **argv)
 		 */
 		OPT_NOOP_NOARG('d', "debug"),
 		OPT_NOOP_NOARG(0, "github-workflow-markup"),
+		OPT_NOOP_NOARG('l', "long-tests"),
 		OPT_NOOP_NOARG(0, "no-bin-wrappers"),
 		OPT_NOOP_ARG(0, "no-chain-lint"),
 		OPT_NOOP_ARG(0, "root"),

-- 
2.56.0.99.g5a7d1e8045.dirty



```

## Patrick Steinhardt, 2026-10-26 08:11

Subject: Re: [PATCH v2 0/2] Make our clar tests ignore the long-tests argument
Message-ID: <at8LHqyBm9Y0JE-1@pks.im>
URL: https://gitlist.dev/e/at8LHqyBm9Y0JE-1%40pks.im
In-Reply-To: <20261026-ks-unit-tests-ignore-long-tests-v2-0-fdbbefbd19fb@gmail.com>

```
On Mon, Oct 26, 2026 at 01:01:03PM +0530, Kaartic Sivaraam wrote:
> Changes in v2:
> - Fixed the s/prerequiiste/prerequisite/ typo in the commit message
> 
> - Link to v1: https://lore.kernel.org/r/20261022-ks-unit-tests-ignore-long-tests-v1-0-554a590d418b@gmail.com

Thanks, this version looks good to me.

Patrick


```

## Junio C Hamano, 2026-10-26 16:10

Subject: Re: [PATCH v2 0/2] Make our clar tests ignore the long-tests argument
Message-ID: <xmqqzew0sarl.fsf@gitster.g>
URL: https://gitlist.dev/e/xmqqzew0sarl.fsf%40gitster.g
In-Reply-To: <at8LHqyBm9Y0JE-1@pks.im>

```
Patrick Steinhardt <ps@pks.im> writes:

> On Mon, Oct 26, 2026 at 01:01:03PM +0530, Kaartic Sivaraam wrote:
>> Changes in v2:
>> - Fixed the s/prerequiiste/prerequisite/ typo in the commit message
>> 
>> - Link to v1: https://lore.kernel.org/r/20261022-ks-unit-tests-ignore-long-tests-v1-0-554a590d418b@gmail.com
>
> Thanks, this version looks good to me.
>
> Patrick

Thanks for writing and reviewing.  Will queue.


```

## Jeff King, 2026-10-27 17:44

Subject: Re: [PATCH v2 0/2] Make our clar tests ignore the long-tests argument
Message-ID: <20261027174442.GA97882@coredump.intra.peff.net>
URL: https://gitlist.dev/e/20261027174442.GA97882%40coredump.intra.peff.net
In-Reply-To: <20261026-ks-unit-tests-ignore-long-tests-v2-0-fdbbefbd19fb@gmail.com>

```
On Mon, Oct 26, 2026 at 01:01:03PM +0530, Kaartic Sivaraam wrote:

> On searching for how these were handled before, I stumbled across
> 9faf3963b6 (t: introduce compatibility options to clar-based tests,
> 2024-12-13) which handled this by adding such arguments as NOOP
> arguments to t/unit-tests/unit-test.c. So, this patch does the same
> to make unit-test ignore the '-l' passed to it.

Your patch looks obviously good, but it prompted me to polish and send
in a much larger fix that I think makes this fallback option parsing
obsolete:

  https://lore.kernel.org/git/20261027173205.GA97799@coredump.intra.peff.net/

I don't propose to replace your series here with mine, but just that you
might be interested in it. ;)

-Peff


```
