Skip to content

Commit 6c70d65

Browse files
committed
Merge branch 'cp/unit-test-reftable-merged'
Another reftable test has been ported to use the unit test framework. * cp/unit-test-reftable-merged: t-reftable-merged: add test for REFTABLE_FORMAT_ERROR t-reftable-merged: use reftable_ref_record_equal to compare ref records t-reftable-merged: add tests for reftable_merged_table_max_update_index t-reftable-merged: improve the const-correctness of helper functions t-reftable-merged: improve the test t_merged_single_record() t: harmonize t-reftable-merged.c with coding guidelines t: move reftable/merged_test.c to the unit testing framework
2 parents 468ebc5 + 9a1fb8a commit 6c70d65

File tree

4 files changed

+106
-106
lines changed

4 files changed

+106
-106
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1340,6 +1340,7 @@ UNIT_TEST_PROGRAMS += t-oidmap
13401340
UNIT_TEST_PROGRAMS += t-oidtree
13411341
UNIT_TEST_PROGRAMS += t-prio-queue
13421342
UNIT_TEST_PROGRAMS += t-reftable-basics
1343+
UNIT_TEST_PROGRAMS += t-reftable-merged
13431344
UNIT_TEST_PROGRAMS += t-reftable-record
13441345
UNIT_TEST_PROGRAMS += t-strbuf
13451346
UNIT_TEST_PROGRAMS += t-strcmp-offset
@@ -2680,7 +2681,6 @@ REFTABLE_OBJS += reftable/writer.o
26802681

26812682
REFTABLE_TEST_OBJS += reftable/block_test.o
26822683
REFTABLE_TEST_OBJS += reftable/dump.o
2683-
REFTABLE_TEST_OBJS += reftable/merged_test.o
26842684
REFTABLE_TEST_OBJS += reftable/pq_test.o
26852685
REFTABLE_TEST_OBJS += reftable/readwrite_test.o
26862686
REFTABLE_TEST_OBJS += reftable/stack_test.o

reftable/reftable-tests.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ license that can be found in the LICENSE file or at
1111

1212
int basics_test_main(int argc, const char **argv);
1313
int block_test_main(int argc, const char **argv);
14-
int merged_test_main(int argc, const char **argv);
1514
int pq_test_main(int argc, const char **argv);
1615
int record_test_main(int argc, const char **argv);
1716
int readwrite_test_main(int argc, const char **argv);

t/helper/test-reftable.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ int cmd__reftable(int argc, const char **argv)
99
tree_test_main(argc, argv);
1010
pq_test_main(argc, argv);
1111
readwrite_test_main(argc, argv);
12-
merged_test_main(argc, argv);
1312
stack_test_main(argc, argv);
1413
return 0;
1514
}

0 commit comments

Comments
 (0)