]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/ccanlint.h
ccanlint: get rid of separate class of compulsory tests.
[ccan] / tools / ccanlint / ccanlint.h
index 452b44f7d8dfd6d93b14d322684873a304a0cacd..16600cff4d0e83411b9c6aab1e5722fc718838c8 100644 (file)
@@ -91,6 +91,9 @@ struct ccanlint {
        /* Can we run this test?  Return string explaining why, if not. */
        const char *(*can_run)(struct manifest *m);
 
+       /* Should we stop immediately if test fails? */
+       bool compulsory;
+
        /* keep is set if you should keep the results.
         * If timeleft is set to 0, means it timed out.
         * score is the result, and a talloc context freed after all our