-struct ccanlint has_tests = {
- .key = "has-tests",
- .name = "Module has tests",
- .check = check_has_tests,
+struct ccanlint tests_exist = {
+ .key = "tests_exist",
+ .name = "Module has test directory with tests in it",
+ .check = check_tests_exist,
+ .needs = ""