X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2Fccanlint.h;h=16600cff4d0e83411b9c6aab1e5722fc718838c8;hp=452b44f7d8dfd6d93b14d322684873a304a0cacd;hb=60824f8a0f758dc7808eb31cc83434ea78f44ed1;hpb=50212d0d271f967d9f5d14c116ec54c0050882a8 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