score->score = 1 + !warnings;
}
-struct ccanlint compile_tests = {
- .key = "compile-tests",
+struct ccanlint tests_compile = {
+ .key = "tests_compile",
.name = "Module tests compile",
.check = do_compile_tests,
.can_run = can_build,
+ .needs = "tests_helpers_compile objects_build"
};
-REGISTER_TEST(compile_tests, &compile_test_helpers, &build_objs, NULL);
+REGISTER_TEST(tests_compile);