Skip to content

some unit-test Makefile polishing

Jeff King git 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 6 repliesIn review
  2. v12 patches 11 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Makefile: use mkdir_p_parent_template for UNIT_TEST_BINMakefile+2 -40 replies
2/3Makefile: remove UNIT_TEST_BIN directory with "make clean"Makefile+2 -20 replies
3/3t/Makefile: get UNIT_TESTS list from C sourcest/Makefile+4 -12 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchSZEDER GáborJohannes Schindelin
SeriesHelped-by
1/3Helped-by
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] some unit-test Makefile polishing
Quoted 2 lines · Jeff King

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