[Scons-users] scons coverage summary

William Blevins wblevins001 at gmail.com
Thu Jul 17 09:37:26 EDT 2014


Depends on how fancy u want to be.  You can simply call Command or you can
build a scanner/emitter but that sounds like overkill; find Command in the
user guide.
On Jul 17, 2014 9:31 AM, "Rob Deckers" <Rob.Deckers at vanderlande.com> wrote:

> Hi,
>
>
>
> For test coverage results, I have builders that ‘do the magic’ to build &
> execute the instrumented tests.
>
> Afterward, I have:
>
> ·         GcdaListing ==> Gets the gcda files from the test target
>
> ·         CoverageInfo ==> creates .info file from gcda’s
>
> ·         FilteredCoverageInfo ==> filters the .info
>
> ·         GenHtml == creates html from the .info file
>
>
>
> Scons does this for each target.
>
> I also have an alias all_tests so scons executes all targets.
>
>
>
> Now I want a to generate a html  from ALL the .info files.
>
> It’s easy to copy all the .info files into a
> ‘accumulated_coverage_directory’, but how do I explain to SCons to use the
> GenHtml-builder for this ?
>
>
>
> Kind Regards,
>
> Rob Deckers
> ------------------------------
>
> ** Disclaimer **
>
> This e-mail, including any attachments, may include proprietary and
> confidential information of Vanderlande and may only be read by the person
> or those persons to whom it is addressed.
> This document is forwarded to you in such a form (e-mail) that Vanderlande
> cannot guarantee the completeness and/or correctness of its contents and
> information.
> If you have received this e-mail message in error, please notify us
> immediately. Please also delete this document from your computer.
> This document may not be reproduced, copied, distributed, published,
> modified, or furnished to third parties, without the prior written consent
> of Vanderlande.
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> http://four.pairlist.net/mailman/listinfo/scons-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20140717/b4c7d3d6/attachment.html>


More information about the Scons-users mailing list