]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/tests/depends_exist.c
tools: add testdepends handling in _info.
[ccan] / tools / ccanlint / tests / depends_exist.c
index 7712c48d1847738e903200bbd2dc9c106e09750d..d869cbb7f38cb53a539359e21f8d5f212cfaef07 100644 (file)
@@ -55,9 +55,10 @@ static void check_depends_exist(struct manifest *m,
        }
 
        if (safe_mode)
-               deps = get_safe_ccan_deps(m, m->dir, true);
+               deps = get_safe_ccan_deps(m, m->dir, "depends", true);
        else
-               deps = get_deps(m, m->dir, true, get_or_compile_info);
+               deps = get_deps(m, m->dir, "depends", true,
+                               get_or_compile_info);
 
        for (i = 0; deps[i]; i++) {
                if (!strstarts(deps[i], "ccan/"))