Code coverage and continuous integration with quantlib

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Code coverage and continuous integration with quantlib

Arthur Pham
Hi all,

For the last couple of days I have been trying to set up a continuous integration server (hudson/jenkins) on quantlib trunk (both svn and git).

I managed to get for each commit :
    1/ compilation of quantlib (under mac os x server) : report any compilation errors
    2/ retrieve warnings from gcc
    3/ launch the c++ test suite (i guess performance of each case could be recorded to get a trend) with code coverage.

You will find below the result of the code coverage report. 
In the screenshot you have the folders sorted by decreasing % line coverage.

Also in the coverage report i saw something wierd : The file rangeaccrual.cpp in the test suite is not launched from quantlibtestsuite.cpp.

Cheers,

Arthur

<img src="webkit-fake-url://AA3D7F51-C956-437D-805C-9FD27CE33355/image.tiff">



------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Code coverage and continuous integration with quantlib

Arthur Pham
With the file, sorry :(.

Arthur

On Thu, Mar 10, 2011 at 10:03 PM, Arthur Pham <[hidden email]> wrote:
Hi all,

For the last couple of days I have been trying to set up a continuous integration server (hudson/jenkins) on quantlib trunk (both svn and git).

I managed to get for each commit :
    1/ compilation of quantlib (under mac os x server) : report any compilation errors
    2/ retrieve warnings from gcc
    3/ launch the c++ test suite (i guess performance of each case could be recorded to get a trend) with code coverage.

You will find below the result of the code coverage report. 
In the screenshot you have the folders sorted by decreasing % line coverage.

Also in the coverage report i saw something wierd : The file rangeaccrual.cpp in the test suite is not launched from quantlibtestsuite.cpp.

Cheers,

Arthur





------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users

code_coverage_quantlib.png (316K) Download Attachment