projects
/
ccan
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
051db34
)
ccanlint: print keys in output
author
Rusty Russell
<rusty@rustcorp.com.au>
Fri, 7 Jan 2011 11:50:44 +0000
(22:20 +1030)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Fri, 7 Jan 2011 11:50:44 +0000
(22:20 +1030)
Since test keys are used for --target=, this is useful.
tools/ccanlint/ccanlint.c
patch
|
blob
|
history
diff --git
a/tools/ccanlint/ccanlint.c
b/tools/ccanlint/ccanlint.c
index 7515a7c6f7af15eebe184699c3e731a7ce37c555..6bfc6d15bd1debf7ad7355da0ce3ba2181e2dde8 100644
(file)
--- a/
tools/ccanlint/ccanlint.c
+++ b/
tools/ccanlint/ccanlint.c
@@
-142,7
+142,7
@@
static bool run_test(struct ccanlint *i,
if ((!score->pass && !quiet)
|| (score->score < score->total && verbose)
|| verbose > 1) {
- printf("%s
: %s", i->name
, score->pass ? "PASS" : "FAIL");
+ printf("%s
(%s): %s", i->name, i->key
, score->pass ? "PASS" : "FAIL");
if (score->total > 1)
printf(" (+%u/%u)", score->score, score->total);
printf("\n");