]> git.ipfire.org Git - thirdparty/git.git/commit
t/unit-tests: rename clar-based unit tests to have a common prefix
authorPatrick Steinhardt <ps@pks.im>
Fri, 13 Dec 2024 10:41:18 +0000 (11:41 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 13 Dec 2024 14:48:46 +0000 (06:48 -0800)
commitc081e7340f5545342f80e77f4578851d77dc9cf6
treec00c0631e196f124b95660f8cd994087cae8c15c
parent23eeee08d6a22de197b17e791508ddcb3a953dc7
t/unit-tests: rename clar-based unit tests to have a common prefix

All of the code files for unit tests using the self-grown unit testing
framework have a "t-" prefix to their name. This makes it easy to
identify them and use globbing in our Makefile and in other places. On
the other hand though, our clar-based unit tests have no prefix at all
and thus cannot easily be discerned from other files in the unit test
directory.

Introduce a new "u-" prefix for clar-based unit tests. This prefix will
be used in a subsequent commit to easily identify such tests.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
t/meson.build
t/unit-tests/generate-clar-decls.sh
t/unit-tests/u-ctype.c [moved from t/unit-tests/ctype.c with 100% similarity]
t/unit-tests/u-strvec.c [moved from t/unit-tests/strvec.c with 100% similarity]