From: Rusty Russell Date: Tue, 9 Nov 2010 02:44:39 +0000 (+1030) Subject: ccanlint: rework so checks have more structure. X-Git-Url: http://git.ozlabs.org/?a=commitdiff_plain;h=7a163ea2dcafc056fdafc8c71ef011e2bfdbeb65;hp=7a163ea2dcafc056fdafc8c71ef011e2bfdbeb65;p=ccan ccanlint: rework so checks have more structure. Previously each check returned a void *, but in fact most of them fell into similar patterns. So define 'struct score' and a helper to add files to it, and use that. Under these rules, you get 0/1 if you skip a test because a dependency failed which in theory means your score (as a percentage) could drop if you fix a test. ---