ccanlint: fix ccanlint -l
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 15 Nov 2011 02:10:37 +0000 (12:40 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 15 Nov 2011 02:10:37 +0000 (12:40 +1030)
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);