diff options
author | Patrick Steinhardt <ps@pks.im> | 2024-12-13 11:41:18 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-12-13 15:48:46 +0100 |
commit | c081e7340f5545342f80e77f4578851d77dc9cf6 (patch) | |
tree | c00c0631e196f124b95660f8cd994087cae8c15c /Makefile | |
parent | Makefile: drop -DSUPPRESS_ANNOTATED_LEAKS (diff) | |
download | git-c081e7340f5545342f80e77f4578851d77dc9cf6.tar.xz git-c081e7340f5545342f80e77f4578851d77dc9cf6.zip |
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>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1344,8 +1344,8 @@ THIRD_PARTY_SOURCES += sha1dc/% THIRD_PARTY_SOURCES += $(UNIT_TEST_DIR)/clar/% THIRD_PARTY_SOURCES += $(UNIT_TEST_DIR)/clar/clar/% -CLAR_TEST_SUITES += ctype -CLAR_TEST_SUITES += strvec +CLAR_TEST_SUITES += u-ctype +CLAR_TEST_SUITES += u-strvec CLAR_TEST_PROG = $(UNIT_TEST_BIN)/unit-tests$(X) CLAR_TEST_OBJS = $(patsubst %,$(UNIT_TEST_DIR)/%.o,$(CLAR_TEST_SUITES)) CLAR_TEST_OBJS += $(UNIT_TEST_DIR)/clar/clar.o |