Boost logo

Boost-Build :

Subject: Re: [Boost-build] Code coverage...
From: Steve (sjh_boost_at_[hidden])
Date: 2012-05-27 13:35:41


On 25/05/2012 14:07, Nogradi, Chris wrote:
> We use bjam to run unit tests and gather coverage using Bullseye. In order to support it we simply do what Vladimir recommended here:
>
> http://article.gmane.org/gmane.comp.lib.boost.build/20174/match=purecov
>
> But Kenneth suggested a more elaborate method here:
>
> http://article.gmane.org/gmane.comp.lib.boost.build/20172/match=purecov
>
> Hope that helps,
>
It's interesting to see how others have gone about integrating
purify/bullseye coverage - but, as these tools instrument compiled
binaries, whereas the likes of gcov require compile-time switches for a
specific compiler... the technique doesn't look as if it will easily
extend to my scenario.

I'm genuinely surprised that gcov support doesn't appear to be present
for 'out the box' bjam.


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk