2021-10-07 22:25:00 +02:00
|
|
|
#include "reftable/reftable-tests.h"
|
|
|
|
#include "test-tool.h"
|
|
|
|
|
|
|
|
int cmd__reftable(int argc, const char **argv)
|
|
|
|
{
|
2022-01-20 16:12:07 +01:00
|
|
|
/* test from simple to complex. */
|
2021-10-07 22:25:00 +02:00
|
|
|
basics_test_main(argc, argv);
|
2022-01-20 16:12:07 +01:00
|
|
|
record_test_main(argc, argv);
|
2021-10-07 22:25:04 +02:00
|
|
|
block_test_main(argc, argv);
|
2022-01-20 16:12:07 +01:00
|
|
|
tree_test_main(argc, argv);
|
2021-10-07 22:25:10 +02:00
|
|
|
pq_test_main(argc, argv);
|
2021-10-07 22:25:09 +02:00
|
|
|
readwrite_test_main(argc, argv);
|
2022-01-20 16:12:07 +01:00
|
|
|
merged_test_main(argc, argv);
|
2021-10-07 22:25:13 +02:00
|
|
|
stack_test_main(argc, argv);
|
2022-01-20 16:12:07 +01:00
|
|
|
refname_test_main(argc, argv);
|
2021-10-07 22:25:00 +02:00
|
|
|
return 0;
|
|
|
|
}
|
2021-10-07 22:25:15 +02:00
|
|
|
|
|
|
|
int cmd__dump_reftable(int argc, const char **argv)
|
|
|
|
{
|
|
|
|
return reftable_dump_main(argc, (char *const *)argv);
|
|
|
|
}
|