]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/tests/tests_exist.c
ccanlint: exit with non-zero exit status if a test fails.
[ccan] / tools / ccanlint / tests / tests_exist.c
index 061a905227da58af30f67bdf484bb2b5d186b445..048a5c3e0906ffcc91099b5bb0c9bd483aa38144 100644 (file)
@@ -104,6 +104,8 @@ static void check_tests_exist(struct manifest *m,
                if (errno != ENOENT)
                        err(1, "statting %s", test_dir);
                tests_exist.handle = handle_no_tests;
+               /* We "pass" this. */
+               score->pass = true;
                return;
        }