Re: [PATCH] cmake: generalize the handling of the `UNIT_TEST_OBJS` list
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 24, 2024, 01:58 UTC
- Message-ID
- <xmqqsetpx16k.fsf@gitster.g>
- In-Reply-To
- <pull.1797.git.1726687769585.gitgitgadget@gmail.com>
"Johannes Schindelin via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 5 quoted lines
> With a4f50bb1e9b (t/unit-tests: introduce reftable library, 2024-09-16), > however, the `UNIT_TEST_OBJS` list became a trio, and the CMake > definition has to be adjusted again. Now that we can use the > `parse_makefile_for_sources()` function without many complications, > let's do that.
Am I correct to understand that it is not "trio"-ness (has three things) that makes the approach feasible, but the fact that all three things are concrete values?
The longer-term aspiration is to migrate everything to clar-based unit tests, so the list will hopefully keep getting shorter and then become empty (https://lore.kernel.org/git/Zt_lLsnylKJ9uoqj@pks.im/).
Will queue. Thanks.