From: David Gibson Date: Sat, 24 Dec 2016 12:58:19 +0000 (+1100) Subject: ccanlint: Move ccanlint test options from _info comments to code X-Git-Url: https://git.ozlabs.org/?a=commitdiff_plain;h=0fe2d094b262f6e8bed798930e8c4716d33d5dc7;hp=0fe2d094b262f6e8bed798930e8c4716d33d5dc7;p=ccan ccanlint: Move ccanlint test options from _info comments to code Currently, _info files can specify options, or note expected failures, for ccanlint checks in the _info file with specially structured comments. That differs from most other things ccanlint gets from _info, where it instead executes the info file with certain parameters. This changes ccanlint and existing _info files to use the normal method for the ccanlint test options as well. This also has the advantage that an info file can alter its test options based on things from config.h - in some cases whether a test can work or not might depend on various things. Signed-off-by: David Gibson ---