]> git.ipfire.org Git - thirdparty/git.git/commitdiff
reftable: order unittests by complexity
authorHan-Wen Nienhuys <hanwen@google.com>
Thu, 20 Jan 2022 15:12:07 +0000 (15:12 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 20 Jan 2022 19:31:53 +0000 (11:31 -0800)
This is a more practical ordering when working on refactorings of the
reftable code.

Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/helper/test-reftable.c

index 26b03d7b7892ee68f7498a1f5cff4ae364190c16..1f0a28cbb64de427ff8d8c542e0b1166250093e2 100644 (file)
@@ -3,15 +3,16 @@
 
 int cmd__reftable(int argc, const char **argv)
 {
+       /* test from simple to complex. */
        basics_test_main(argc, argv);
+       record_test_main(argc, argv);
        block_test_main(argc, argv);
-       merged_test_main(argc, argv);
+       tree_test_main(argc, argv);
        pq_test_main(argc, argv);
-       record_test_main(argc, argv);
-       refname_test_main(argc, argv);
        readwrite_test_main(argc, argv);
+       merged_test_main(argc, argv);
        stack_test_main(argc, argv);
-       tree_test_main(argc, argv);
+       refname_test_main(argc, argv);
        return 0;
 }