From: Junio C Hamano Date: Wed, 12 Jun 2024 20:37:14 +0000 (-0700) Subject: Merge branch 'cp/reftable-unit-test' X-Git-Tag: v2.46.0-rc0~66 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=56346ba24e16274196180a859d27a8199acb6150;p=thirdparty%2Fgit.git Merge branch 'cp/reftable-unit-test' Basic unit tests for reftable have been reimplemented under the unit test framework. * cp/reftable-unit-test: t: improve the test-case for parse_names() t: add test for put_be16() t: move tests from reftable/record_test.c to the new unit test t: move tests from reftable/stack_test.c to the new unit test t: move reftable/basics_test.c to the unit testing framework --- 56346ba24e16274196180a859d27a8199acb6150 diff --cc Makefile index 2f5f16847a,1807e63e41..62188f5e8f --- a/Makefile +++ b/Makefile @@@ -1333,13 -1347,12 +1333,14 @@@ THIRD_PARTY_SOURCES += compat/regex/ THIRD_PARTY_SOURCES += sha1collisiondetection/% THIRD_PARTY_SOURCES += sha1dc/% -UNIT_TEST_PROGRAMS += t-basic +UNIT_TEST_PROGRAMS += t-ctype UNIT_TEST_PROGRAMS += t-mem-pool +UNIT_TEST_PROGRAMS += t-prio-queue + UNIT_TEST_PROGRAMS += t-reftable-basics UNIT_TEST_PROGRAMS += t-strbuf -UNIT_TEST_PROGRAMS += t-ctype -UNIT_TEST_PROGRAMS += t-prio-queue +UNIT_TEST_PROGRAMS += t-strcmp-offset +UNIT_TEST_PROGRAMS += t-strvec +UNIT_TEST_PROGRAMS += t-trailer UNIT_TEST_PROGS = $(patsubst %,$(UNIT_TEST_BIN)/%$X,$(UNIT_TEST_PROGRAMS)) UNIT_TEST_OBJS = $(patsubst %,$(UNIT_TEST_DIR)/%.o,$(UNIT_TEST_PROGRAMS)) UNIT_TEST_OBJS += $(UNIT_TEST_DIR)/test-lib.o