mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
8d4dc99b82
the % coverage in terms of lines of code of a test suite. I thought a good first place to start with gcov was the talloc test suite. When I started the test suite covered about 60% of all lines of code in talloc.c, and now it covers about 99%. The only lines not covered are talloc corruption errors, as that would cause smb_panic() to fire. It will be interesting to try gcov on the main Samba test suite for smbd. We won't achieve 100% coverage, but it would be nice to get to 90% or more. I also modified the talloc.c sources to be able to be build standalone, using: gcc -c -D_STANDALONE_ -Iinlcude lib/talloc.c that should make it much easier to re-use talloc in other projects |
||
---|---|---|
.. | ||
auth | ||
basic | ||
ldap | ||
local | ||
nbench | ||
rap | ||
raw | ||
rpc | ||
config.m4 | ||
config.mk | ||
gentest.c | ||
locktest2.c | ||
locktest.c | ||
masktest.c | ||
msgtest.c | ||
nsstest.c | ||
smbiconv.c | ||
t_strcmp.c | ||
torture_util.c | ||
torture.c | ||
vfstest.c | ||
vfstest.h |