- 17 Nov, 2010 1 commit
-
-
Rusty Russell authored
This allows tests (like in tdb2) to run the simpler tests first and build up, making it easier to spot the root cause of errors.
-
- 15 Nov, 2010 6 commits
-
-
Rusty Russell authored
-
Rusty Russell authored
ccanlint complained about it; it's trivial but fixing it adds one point to our score.
-
Rusty Russell authored
ccanlint did this automatically.
-
Rusty Russell authored
Also, add Author and License lines to _info (ccanlint complained). Now ccanlint can build it as a module.
-
Rusty Russell authored
This makes it closer to compiling under ccanlint.
-
Rusty Russell authored
This means we can pass various compulation tests, but deduct points if they get warnings.
-
- 14 Nov, 2010 1 commit
-
-
Rusty Russell authored
We want to distinguish between warnings and errors: the first step is to return the output even if the command doesn't fail.
-
- 15 Nov, 2010 1 commit
-
-
Rusty Russell authored
Test for inserting idempotent header was wrong way around, and we check all headers at once, rather than finishing after one. Also, turn - into _ rather than removing.
-
- 14 Nov, 2010 1 commit
-
-
Rusty Russell authored
-
- 15 Nov, 2010 1 commit
-
-
Rusty Russell authored
This means we can see messages even if we don't fail; ie. for compiler warnings once they are no longer fatal. This means that various tests have to be more careful in not setting score->error.
-
- 14 Nov, 2010 1 commit
-
-
Rusty Russell authored
-
- 15 Nov, 2010 1 commit
-
-
Rusty Russell authored
We only grabbed one character at a time from stdin, so "y<return>" answered the next question as well.
-
- 11 Nov, 2010 1 commit
-
-
Rusty Russell authored
-
- 10 Nov, 2010 13 commits
-
-
Rusty Russell authored
-
Rusty Russell authored
Michael Ellerman noted that ccan/opt has no symlink, so add ccanlint test.
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
I am told that CentOS 5.3 doesn't like isblank (it's ISO C).
-
Rusty Russell authored
Delio Brignoli points out that check_type fails when HAVE_TYPEOF is 0, so turn that off here and see what else breaks...
-
Rusty Russell authored
"C has fairly weak typing:" from check_type/_info is not a new section heading! Enforce that each word in multi-word sections must be caps.
-
Rusty Russell authored
We used to prefer to build up examples using previous ones, but this broke for tests which were to be executed. But list.h relied on the buildup behavior, so return to that unless we see "// Given" comments indicating an execution test.
-
Rusty Russell authored
gcc with optimization complained (correctly) about this.
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
(nfs gives warnings on build, make ccanlint unhappy).
-
Rusty Russell authored
-
- 09 Nov, 2010 5 commits
-
-
Rusty Russell authored
The long names were unwieldy in practice; at risk of clashing, replace with shorter versions.
-
Rusty Russell authored
ccanlint won't run rpcgen, so we need the C source in the repo anyway.
-
Rusty Russell authored
rename libnfs.h to nfs.h (CCAN expects "main" header to match module name). tools move into tools/, .x file move into rpc/ Don't sed the rpcgen files, generate headers in rpc/ Make tools use <ccan/nfs/nfs.h> as per normal ccan usage.
-
Rusty Russell authored
Another Ronnie module!
-
Rusty Russell authored
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.
-
- 08 Nov, 2010 8 commits
-
-
Rusty Russell authored
Make test directory correctly, and #include <ccan/...> not #include "".
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
I'm not a fan of the SHOUTING, but it's upstream.
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
-