projects
/
ccan
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed776b6
)
ccanlint: override _info's Fails: with --target
author
Rusty Russell
<rusty@rustcorp.com.au>
Wed, 17 Nov 2010 09:57:37 +0000
(20:27 +1030)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Wed, 17 Nov 2010 09:57:37 +0000
(20:27 +1030)
I wanted to see what happened with tdb2's valgrind test (suppressed in the
_info file).
tools/ccanlint/ccanlint.c
patch
|
blob
|
history
diff --git
a/tools/ccanlint/ccanlint.c
b/tools/ccanlint/ccanlint.c
index 8aa9f2894c4aa83e053692c560b0bb6e74a5a6ea..d09f68da19dc94932f4ba05d09a44d550e121608 100644
(file)
--- a/
tools/ccanlint/ccanlint.c
+++ b/
tools/ccanlint/ccanlint.c
@@
-469,7
+469,10
@@
int main(int argc, char *argv[])
}
}
- add_info_fails(m->info_file);
+ /* --target overrides _info excludes */
+ if (!target)
+ add_info_fails(m->info_file);
+
while ((i = get_next_test(&normal_tests)) != NULL)
run_test(i, summary, &score, &total_score, m);