X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=tools%2Fccanlint%2Fccanlint.h;h=46d1fc9da9c6106058f6ef1673a90f66962fbc0a;hb=f9492529ffcc609036bb817561ee2a20546071ab;hp=ad38302861046cdab7475cbef03f22365b51db0f;hpb=fb4c4c3ddc24772f71a64ec02d2c9ddaeb6e9f6b;p=ccan diff --git a/tools/ccanlint/ccanlint.h b/tools/ccanlint/ccanlint.h index ad383028..46d1fc9d 100644 --- a/tools/ccanlint/ccanlint.h +++ b/tools/ccanlint/ccanlint.h @@ -11,6 +11,11 @@ #define REGISTER_TEST(name, ...) +/* 1 == Describe results for partial failures. + 2 == Describe gory details. + 3 == Describe every action. */ +extern unsigned int verbose; + struct manifest { char *dir; /* The module name, ie. final element of dir name */ @@ -28,6 +33,7 @@ struct manifest { struct list_head other_test_files; struct list_head other_files; + struct list_head examples; /* From tests/check_depends_exist.c */ struct list_head dep_dirs; @@ -139,6 +145,9 @@ struct ccan_file { /* If this file gets compiled (eg. .C file to .o file), result here. */ char *compiled; + + /* Compiled with coverage information. */ + char *cov_compiled; }; /* A new ccan_file, with the given name (talloc_steal onto returned value). */