[edk2-devel] [EXTERNAL] [PATCH v1 1/1] UnitTestFrameworkPkg: Sample unit test hangs when running in OVMF/QEMU

Getnat Ejigu getnatejigu at gmail.com
Fri Apr 30 16:12:18 UTC 2021


Okay, will do.

Thanks,
-Getnat

On Thu, Apr 29, 2021 at 11:33 PM Bret Barkelew <Bret.Barkelew at microsoft.com>
wrote:

> This change should also be made in:
>
>
> UnitTestFrameworkPkg\Library\UnitTestResultReportLib\UnitTestResultReportLibDebugLib.c
>
> UnitTestFrameworkPkg\Library\UnitTestResultReportLib\UnitTestResultReportLib.c
> (for the prototype)
>
>
>
> - Bret
>
>
>
> *From: *Getnat Ejigu <getnatejigu at gmail.com>
> *Sent: *Thursday, April 29, 2021 10:43 AM
> *To: *devel at edk2.groups.io
> *Cc: *Kinney, Michael D <michael.d.kinney at intel.com>; Sean Brogan
> <sean.brogan at microsoft.com>; Bret Barkelew <Bret.Barkelew at microsoft.com>
> *Subject: *[EXTERNAL] [PATCH v1 1/1] UnitTestFrameworkPkg: Sample unit
> test hangs when running in OVMF/QEMU
>
>
>
> Sample unit tests in UnitTestFrameworkPkg hangs when running in OVMF/QEMU
> environment. Build target is X64/GCC5. Fixing this issue by adding EFIAPI
> to ReportPrint() function that use VA_ARGS.
>
> Signed-off-by: Getnat Ejigu <getnatejigu at gmail.com>
> Cc: Michael D Kinney <michael.d.kinney at intel.com>
> Cc: Sean Brogan <sean.brogan at microsoft.com>
> Cc: Bret Barkelew <Bret.Barkelew at microsoft.com>
> ---
>  UnitTestFrameworkPkg/Library/UnitTestResultReportLib/UnitTestResultReportLibConOut.c
> | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git
> a/UnitTestFrameworkPkg/Library/UnitTestResultReportLib/UnitTestResultReportLibConOut.c
> b/UnitTestFrameworkPkg/Library/UnitTestResultReportLib/UnitTestResultReportLibConOut.c
> index cfb0c5972bd1..db5402d6a210 100644
> ---
> a/UnitTestFrameworkPkg/Library/UnitTestResultReportLib/UnitTestResultReportLibConOut.c
> +++
> b/UnitTestFrameworkPkg/Library/UnitTestResultReportLib/UnitTestResultReportLibConOut.c
> @@ -12,6 +12,7 @@
>  #include <Library/DebugLib.h>
>
>
>
>  VOID
>
> +EFIAPI
>
>  ReportPrint (
>
>    IN CONST CHAR8  *Format,
>
>    ...
>
> --
> 2.25.1
>
>
>


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#74660): https://edk2.groups.io/g/devel/message/74660
Mute This Topic: https://groups.io/mt/82473334/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/edk2-devel-archive/attachments/20210430/01b817e3/attachment.htm>


More information about the edk2-devel-archive mailing list