Browse Source

ccanlint: fix ccanlint -l

Rusty Russell 14 years ago
parent
commit
c594071789
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tools/ccanlint/ccanlint.c

+ 1 - 0
tools/ccanlint/ccanlint.c

@@ -372,6 +372,7 @@ static void print_tests(struct list_head *tests, const char *type)
 
 
 static char *list_tests(void *arg)
 static char *list_tests(void *arg)
 {
 {
+	init_tests();
 	print_tests(&compulsory_tests, "Compulsory");
 	print_tests(&compulsory_tests, "Compulsory");
 	print_tests(&normal_tests, "Normal");
 	print_tests(&normal_tests, "Normal");
 	exit(0);
 	exit(0);