]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'cp/unit-test-reftable-record'
authorJunio C Hamano <gitster@pobox.com>
Mon, 15 Jul 2024 17:11:43 +0000 (10:11 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 15 Jul 2024 17:11:44 +0000 (10:11 -0700)
A test in reftable library has been rewritten using the unit test
framework.

* cp/unit-test-reftable-record:
  t-reftable-record: add tests for reftable_log_record_compare_key()
  t-reftable-record: add tests for reftable_ref_record_compare_name()
  t-reftable-record: add index tests for reftable_record_is_deletion()
  t-reftable-record: add obj tests for reftable_record_is_deletion()
  t-reftable-record: add log tests for reftable_record_is_deletion()
  t-reftable-record: add ref tests for reftable_record_is_deletion()
  t-reftable-record: add comparison tests for obj records
  t-reftable-record: add comparison tests for index records
  t-reftable-record: add comparison tests for ref records
  t-reftable-record: add reftable_record_cmp() tests for log records
  t: move reftable/record_test.c to the unit testing framework

1  2 
Makefile

diff --cc Makefile
index 2a5c70d2185096c72a9e8827f58af3a1f3d70ce1,def3700b4d65badd1c7283631beb74b0a67a8334..d6479092a0b8df4933fe4944d11d03d206ef65b8
+++ b/Makefile
@@@ -1336,10 -1336,9 +1336,11 @@@ UNIT_TEST_PROGRAMS += t-ctyp
  UNIT_TEST_PROGRAMS += t-example-decorate
  UNIT_TEST_PROGRAMS += t-hash
  UNIT_TEST_PROGRAMS += t-mem-pool
 +UNIT_TEST_PROGRAMS += t-oidmap
 +UNIT_TEST_PROGRAMS += t-oidtree
  UNIT_TEST_PROGRAMS += t-prio-queue
  UNIT_TEST_PROGRAMS += t-reftable-basics
+ UNIT_TEST_PROGRAMS += t-reftable-record
  UNIT_TEST_PROGRAMS += t-strbuf
  UNIT_TEST_PROGRAMS += t-strcmp-offset
  UNIT_TEST_PROGRAMS += t-strvec