]> 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 35790ece120a926f2f92c814d97e267921b29c86..0edfad262c4ba02299052231691b23ce40784ff7 100644 (file)
@@ -65,7 +65,7 @@ static void run_under_debugger(struct manifest *m, struct score *score)
                doesnt_matter();
 }
 
                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,
        .key = "tests_pass",
        .name = "Module's run and api tests pass",
        .check = do_run_tests,
@@ -74,4 +74,4 @@ struct ccanlint run_tests = {
        .needs = "tests_compile"
 };
 
        .needs = "tests_compile"
 };
 
-REGISTER_TEST(run_tests);
+REGISTER_TEST(tests_pass);