This describes local development code coverage.  Let us know if these work for you.

 

https://github.com/tianocore/edk2/tree/master/UnitTestFrameworkPkg#code-coverage

 

Thanks,

 

Mike

 

From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of CrossedCarpet
Sent: Friday, September 15, 2023 9:48 AM
To: devel@edk2.groups.io
Subject: [edk2-devel] gTest code coverage

 

Greetings,
Does gTest need any additional steps for building the code coverage files? Or is this not a possibility?
The documentation states "Host based Unit Tests will automatically enable coverage data." and indeed I used to find these coverage files when using the UnitTestFramework. Does this mean that the statement doesn't apply to gTests?
Thank you for your attention,
C.C.

_._,_._,_

Groups.io Links:

You receive all messages sent to this group.

View/Reply Online (#108732) | | Mute This Topic | New Topic
Your Subscription | Contact Group Owner | Unsubscribe [rebecca@openfw.io]

_._,_._,_