t/README: mention test files are make targets
commit8d383806fc98771b42bc0407eedb235e5a6d5d08
authorPhilippe Blain <levraiphilippeblain@gmail.com>
Sun, 24 Mar 2024 15:14:05 +0000 (24 15:14 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 25 Mar 2024 18:59:48 +0000 (25 11:59 -0700)
tree43d0f1d1ac30cbb0fbddceac7ef8587471b28cb2
parent3c2a3fdc388747b9eaf4a4a4f2035c1c9ddb26d0
t/README: mention test files are make targets

Since 23fc63bf8f (make tests ignorable with "make -i", 2005-11-08), each
test file defines a target in the test Makefile, such that one can
invoke:

make *checkout*

to run all tests with 'checkout' in their filename. This is useful to
run a subset of tests when you have a good idea of what part of the code
is touched by the changes your are testing.

Document that in t/README to help new (or more seasoned) contributors
that might not be aware.

Signed-off-by: Philippe Blain <levraiphilippeblain@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/README