From: Junio C Hamano Date: Wed, 12 Jun 2024 20:37:15 +0000 (-0700) Subject: Merge branch 'gt/t-hash-unit-test' X-Git-Tag: v2.46.0-rc0~65 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=22cf18fd9ede79bdfe5ac93e09986a64052e5781;p=thirdparty%2Fgit.git Merge branch 'gt/t-hash-unit-test' A pair of test helpers that essentially are unit tests on hash algorithms have been rewritten using the unit-tests framework. * gt/t-hash-unit-test: t/: migrate helper/test-{sha1, sha256} to unit-tests/t-hash strbuf: introduce strbuf_addstrings() to repeatedly add a string --- 22cf18fd9ede79bdfe5ac93e09986a64052e5781 diff --cc Makefile index 62188f5e8f,84b4542cf3..46468b02b8 --- a/Makefile +++ b/Makefile @@@ -1333,14 -1347,12 +1333,15 @@@ 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-hash UNIT_TEST_PROGRAMS += t-mem-pool -UNIT_TEST_PROGRAMS += t-strbuf -UNIT_TEST_PROGRAMS += t-ctype UNIT_TEST_PROGRAMS += t-prio-queue +UNIT_TEST_PROGRAMS += t-reftable-basics +UNIT_TEST_PROGRAMS += t-strbuf +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