X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2Fccanlint.h;h=16600cff4d0e83411b9c6aab1e5722fc718838c8;hp=452b44f7d8dfd6d93b14d322684873a304a0cacd;hb=4c6f5a73a0817641571fad7383ec3604487889f8;hpb=4640e61b45d8d3cdfc5301bc58ef7c96a42077ec diff --git a/tools/ccanlint/ccanlint.h b/tools/ccanlint/ccanlint.h index 452b44f7..16600cff 100644 --- a/tools/ccanlint/ccanlint.h +++ b/tools/ccanlint/ccanlint.h @@ -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