[PATCH v2 0/3] some unit-test Makefile polishing
- From
Jeff King <peff@peff.net>
- Date
- Jan 30, 2024, 05:37 UTC
- Message-ID
- <20240130053714.GA165967@coredump.intra.peff.net>
- In-Reply-To
- <20240129031540.GA2433764@coredump.intra.peff.net>
On Sun, Jan 28, 2024 at 10:15:40PM -0500, Jeff King wrote:
> The patches fixes two small hiccups I found with the unit-tests. Neither > is a show-stopper, but mostly just small quality-of-life fixes.
And here's another iteration based on the feedback from v1. It uses the mkdir_p template mentioned by Gábor, fixes the $(X) issue mentioned by Patrick, and adds a new patch to handle the directory in "make clean".
No range diff, as range-diff refuses to admit that the patches are related (presumably because even though the changes are small, the original patches were also tiny).
[1/3]: Makefile: use mkdir_p_parent_template for UNIT_TEST_BIN [2/3]: Makefile: remove UNIT_TEST_BIN directory with "make clean" [3/3]: t/Makefile: get UNIT_TESTS list from C sources
Makefile | 10 ++++------ t/Makefile | 5 ++++- 2 files changed, 8 insertions(+), 7 deletions(-)
-Peff