summaryrefslogtreecommitdiff
path: root/tools/ccanlint/tests/info_documentation_exists.c
AgeCommit message (Collapse)Author
2014-06-10tools: use tal/grab_fileRusty Russell
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-12-03tools: use tal instead of talloc.Rusty Russell
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-12-03tools: use rbuf instead of grab_file.Rusty Russell
Slowly removing the talloc dependency. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-11-22tools: don't assume modules are immediately below ccan/ dir.Rusty Russell
Removing this assumption should allow nested modules. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-11-22ccanlint: fix _info documentation addition.Rusty Russell
Firstly, we should always ask before altering files. Secondly, we are not in the module directory: we need to use m->info_file->fullname. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-12-05ccanlint: use ccan/autodataRusty Russell
Gets rid of generated file.
2011-12-02ccanlint: remove argument to -k/--keepRusty Russell
It's much easier to simply say "keep all", and it simplifies the code quite a bit.
2011-03-22ccanlint: exit with non-zero exit status if a test fails.Rusty Russell
This means we change some minor tests to "never fail", eg. whitespace or documentation tests. Note that pass/fail is independent of the score for a test.
2011-01-18ccanlint: fix _info option handlingRusty Russell
Two places were using a bogus ccanlint struct: the side-effect was that valgrind options didn't work, nor did license fixups. Make REGISTER_TEST do the extern declaration, and remove the bogus ones.
2011-01-17ccanlint: score_file_error() takes printf-formatRusty Russell
We simply build up the error string in score_file_error; a bit different but simpler than current behaviour. We keep around struct file_error because some tests need it.
2011-01-07ccanlint: rename files to match keysRusty Russell