]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/tests/run_tests.c
ccanlint: list dependencies by key
[ccan] / tools / ccanlint / tests / run_tests.c
index f32e0534ff11d1272e3e76c0ceb3498e6e155e8e..35790ece120a926f2f92c814d97e267921b29c86 100644 (file)
@@ -66,11 +66,12 @@ static void run_under_debugger(struct manifest *m, struct score *score)
 }
 
 struct ccanlint run_tests = {
-       .key = "run",
+       .key = "tests_pass",
        .name = "Module's run and api tests pass",
        .check = do_run_tests,
        .handle = run_under_debugger,
        .can_run = can_run,
+       .needs = "tests_compile"
 };
 
-REGISTER_TEST(run_tests, &compile_tests, NULL);
+REGISTER_TEST(run_tests);