]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/ccanlint.c
ccanlint: fix ccanlint -l
[ccan] / tools / ccanlint / ccanlint.c
index fe99f7b4cfe6254d436e718fa87b121dd5452435..74497d5c3d5d53f117ae73d4b74e30bf12d55b35 100644 (file)
@@ -372,6 +372,7 @@ static void print_tests(struct list_head *tests, const char *type)
 
 static char *list_tests(void *arg)
 {
+       init_tests();
        print_tests(&compulsory_tests, "Compulsory");
        print_tests(&normal_tests, "Normal");
        exit(0);