]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'gt/decorate-unit-test'
authorJunio C Hamano <gitster@pobox.com>
Wed, 12 Jun 2024 20:37:18 +0000 (13:37 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Jun 2024 20:37:18 +0000 (13:37 -0700)
A test helper that essentially is unit tests on the "decorate"
logic has been rewritten using the unit-tests framework.

* gt/decorate-unit-test:
  t/: migrate helper/test-example-decorate to the unit testing framework

1  2 
Makefile
t/helper/test-tool.c
t/helper/test-tool.h

diff --cc Makefile
index 46468b02b88ee8b595a8ba1965e3c3230c83585a,5c3d50ca1b8c065e909dd4eec38a2e5a6e9cfae9..f25b2e80a13014119b2b39dc330ad02bf74cb750
+++ b/Makefile
@@@ -1333,15 -1333,11 +1332,16 @@@ THIRD_PARTY_SOURCES += compat/regex/
  THIRD_PARTY_SOURCES += sha1collisiondetection/%
  THIRD_PARTY_SOURCES += sha1dc/%
  
 +UNIT_TEST_PROGRAMS += t-ctype
+ UNIT_TEST_PROGRAMS += t-example-decorate
 +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
Simple merge
Simple merge