]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/ccanlint.h
ccanlint: don't use total_score to separate kinds of tests; we have subdirs
[ccan] / tools / ccanlint / ccanlint.h
index 271fba9501892b56ff3d9321ebc83e39cdb33afc..c4ae191f835d923d3b9e384abbb7e82e4e74d10e 100644 (file)
@@ -5,7 +5,8 @@
 #include "../doc_extract.h"
 
 #define REGISTER_TEST(name, ...) extern struct ccanlint name
-#include "generated-init-tests"
+#include "generated-compulsory-tests"
+#include "generated-normal-tests"
 #undef REGISTER_TEST
 
 #define REGISTER_TEST(name, ...) 
@@ -41,7 +42,7 @@ struct ccanlint {
        /* Unique name of test */
        const char *name;
 
-       /* Total score that this test is worth.  0 means compulsory tests. */
+       /* Total score that this test is worth. */
        unsigned int total_score;
 
        /* Can we run this test?  Return string explaining why, if not. */