]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'cp/reftable-unit-test'
authorJunio C Hamano <gitster@pobox.com>
Wed, 12 Jun 2024 20:37:14 +0000 (13:37 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Jun 2024 20:37:14 +0000 (13:37 -0700)
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

1  2 
Makefile
reftable/stack_test.c
t/helper/test-reftable.c

diff --cc Makefile
index 2f5f16847ae28eb1080e0544a54fada066f31a07,1807e63e4194edb1eba75e8ad343ef54df177593..62188f5e8f935542f17a141a3be71febb68a2663
+++ 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
Simple merge
Simple merge