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