[17427] in Kerberos_V5_Development
Re: test coverage statistics
daemon@ATHENA.MIT.EDU (Ezra Peisach)
Wed Dec 7 22:34:27 2011
Message-ID: <4EE0302D.3020503@mit.edu>
Date: Wed, 07 Dec 2011 22:34:05 -0500
From: Ezra Peisach <epeisach@mit.edu>
MIME-Version: 1.0
To: krbdev@mit.edu
In-Reply-To: <32C718E3-2F59-4E34-8B42-286F3EF8ED13@mit.edu>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krbdev-bounces@mit.edu
At one time - I modified valgrind to add a new function that would allow
one to indicate how many mallocs before returning null... This was
useful to iterate on the t_cc tests where it would set it to 2000
mallocs, run the tests, reduce by one, run again, etc. - and see if
could get down to one... I fixed a number of failure cases that way.
I think I submitted it to the valgrind developers and will see if I can
dig it up - but this could be one way
for testing the various failure cases - or some other controlled malloc
failure case. It would definitely test
error paths...
Ezra
On 12/7/2011 11:10 AM, Zhanna Tsitkova wrote:
> Hi,
> I've compiled a test coverage report using GNU's gcov tool on Ubuntu.
> Please see http://k5wiki.kerberos.org/wiki/Test_coverage
>
> It may be useful for those who writes the new tests for or works on
> improving MIT Kerberos test suite.
>
> (More detail on generating this statistics can be found on http://web.mit.edu/tsitkova/www/build/krb_build/test_cov.html
> )
>
> Thanks,
> Zhanna
>
> Zhanna Tsitkova
> tsitkova@mit.edu
>
>
>
>
> _______________________________________________
> krbdev mailing list krbdev@mit.edu
> https://mailman.mit.edu/mailman/listinfo/krbdev
_______________________________________________
krbdev mailing list krbdev@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev