Re: [edk2-devel] [PATCH v2] UnitTestFrameworkPkg: Add code coverage support for GCC

2022-09-14 Thread Guo, Gua
ups.io; Kinney, Michael D Cc: Sean Brogan ; Michael Kubacki Subject: RE: [edk2-devel] [PATCH v2] UnitTestFrameworkPkg: Add code coverage support for GCC So if you run the stuart command with that plugin available on Linux/GCC, then both the .gcda and HTML content is always generated and local use

Re: [edk2-devel] [PATCH v2] UnitTestFrameworkPkg: Add code coverage support for GCC

2022-09-14 Thread Michael D Kinney
; devel@edk2.groups.io Cc: Sean Brogan ; Michael Kubacki Subject: RE: [edk2-devel] [PATCH v2] UnitTestFrameworkPkg: Add code coverage support for GCC @Sean Brogan<mailto:spbro...@outlook.com> I go through the code Merged PR 5008: Initial implementation or code coverage on base

Re: [edk2-devel] [PATCH v2] UnitTestFrameworkPkg: Add code coverage support for GCC

2022-09-14 Thread Michael D Kinney
, 2022 7:11 PM To: Kinney, Michael D ; Sean Brogan ; devel@edk2.groups.io Cc: Sean Brogan ; Michael Kubacki Subject: RE: [edk2-devel] [PATCH v2] UnitTestFrameworkPkg: Add code coverage support for GCC @Sean Brogan<mailto:spbro...@outlook.com> I go through the code Merged PR 5008: I

Re: [edk2-devel] [PATCH v2] UnitTestFrameworkPkg: Add code coverage support for GCC

2022-09-14 Thread Michael D Kinney
om>>; Michael Kubacki mailto:mikub...@linux.microsoft.com>> Subject: Re: [edk2-devel] [PATCH v2] UnitTestFrameworkPkg: Add code coverage support for GCC Hi Gua Guo, I would propose that we make this easier for both the local user and the CI system to get coverage metrics. Can you revi

Re: [edk2-devel] [PATCH v2] UnitTestFrameworkPkg: Add code coverage support for GCC

2022-09-13 Thread Guo, Gua
ool? No, currently I don’t find a good way to generate code coverage for MSVC compiler Thanks, Gua From: Kinney, Michael D Sent: Wednesday, September 14, 2022 9:52 AM To: Sean Brogan ; devel@edk2.groups.io; Guo, Gua ; Kinney, Michael D Cc: Sean Brogan ; Michael Kubacki Subject: RE: [edk2-devel]

Re: [edk2-devel] [PATCH v2] UnitTestFrameworkPkg: Add code coverage support for GCC

2022-09-13 Thread Sean
: devel@edk2.groups.io; Guo, Gua Cc: Kinney, Michael D ; Sean Brogan ; Michael Kubacki Subject: Re: [edk2-devel] [PATCH v2] UnitTestFrameworkPkg: Add code coverage support for GCC Hi Gua Guo, I would propose that we make this easier for both the local user and the CI system to get coverage

Re: [edk2-devel] [PATCH v2] UnitTestFrameworkPkg: Add code coverage support for GCC

2022-09-13 Thread Michael D Kinney
: Kinney, Michael D ; Sean Brogan ; Michael Kubacki Subject: Re: [edk2-devel] [PATCH v2] UnitTestFrameworkPkg: Add code coverage support for GCC Hi Gua Guo, I would propose that we make this easier for both the local user and the CI system to get coverage metrics. Can you review this commit

Re: [edk2-devel] [PATCH v2] UnitTestFrameworkPkg: Add code coverage support for GCC

2022-09-13 Thread Sean
Hi Gua Guo, I would propose that we make this easier for both the local user and the CI system to get coverage metrics. Can you review this commit as it uses the same Edk2 plugins but adds code coverage support with GCC5: Merged PR 5008: Initial implementation or code coverage on basecore u

[edk2-devel] [PATCH v2] UnitTestFrameworkPkg: Add code coverage support for GCC

2022-09-13 Thread Guo, Gua
From: Gua Guo In order to collect code coverage after running executable file, generate *.gcda and *.gcno file that require by lcov tool to generate code coverage report. Cc: Michael D Kinney Cc: Sean Brogan Cc: Bret Barkelew Cc: Michael Kubacki Signed-off-by: Gua Guo --- UnitTestFramework