]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/tests/run_tests.c
ccanlint: rename structures to match keys
[ccan] / tools / ccanlint / tests / run_tests.c
index 3821b36a761259ae2c480dba3fc193b99861c3e5..0edfad262c4ba02299052231691b23ce40784ff7 100644 (file)
@@ -65,12 +65,13 @@ static void run_under_debugger(struct manifest *m, struct score *score)
                doesnt_matter();
 }
 
-struct ccanlint run_tests = {
+struct ccanlint tests_pass = {
        .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(tests_pass);