]> git.ipfire.org Git - thirdparty/git.git/commit
unit tests: add rule for running with test-tool
authorJosh Steadmon <steadmon@google.com>
Mon, 6 May 2024 19:57:35 +0000 (12:57 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 6 May 2024 21:06:35 +0000 (14:06 -0700)
commit5bbc8c927f56dc6f2ff98fb013f4ed0f729f9adc
tree4a7718114e0c2fdcae2c88c37e7d80f0e194d650
parenta2b55e2506f90ac2724a23e9b6c9eecf7d7fafad
unit tests: add rule for running with test-tool

In the previous commit, we added support in test-tool for running
collections of unit tests. Now, add rules in t/Makefile for running in
this way.

This new rule can be executed from the top-level Makefile via
`make DEFAULT_UNIT_TEST_TARGET=unit-tests-test-tool unit-tests`, or by
setting DEFAULT_UNIT_TEST_TARGET in config.mak.

Signed-off-by: Josh Steadmon <steadmon@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
t/Makefile