ccanlint: fix --test-dep-graph
[ccan] / tools / ccanlint / ccanlint.c
index 74497d5c3d5d53f117ae73d4b74e30bf12d55b35..4092d104160145fd6e0657187034a48da3ad845c 100644 (file)
@@ -403,6 +403,7 @@ static void test_dgraph_edges(struct list_head *tests)
 
 static char *test_dependency_graph(void *arg)
 {
 
 static char *test_dependency_graph(void *arg)
 {
+       init_tests();
        puts("digraph G {");
 
        test_dgraph_vertices(&compulsory_tests, ", style=filled, fillcolor=yellow");
        puts("digraph G {");
 
        test_dgraph_vertices(&compulsory_tests, ", style=filled, fillcolor=yellow");