Browse Source

ccanlint: fix --test-dep-graph

Broken by 758ab1f402b4 "ccanlint: drop -d, interpret any arguments as
directories, and allow multiple."
Rusty Russell 14 years ago
parent
commit
0ad719f56d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tools/ccanlint/ccanlint.c

+ 1 - 0
tools/ccanlint/ccanlint.c

@@ -403,6 +403,7 @@ static void test_dgraph_edges(struct list_head *tests)
 
 static char *test_dependency_graph(void *arg)
 {
+	init_tests();
 	puts("digraph G {");
 
 	test_dgraph_vertices(&compulsory_tests, ", style=filled, fillcolor=yellow");