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@gmail.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Sean Brogan <sean.brogan@microsoft.com> Cc: Bret Barkelew <Bret.Barkelew@microsoft.com> Reviewed-by: Bret Barkelew <bret.barkelew@microsoft.com> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
This commit is contained in:
committed by
mergify[bot]
parent
8c8f49f0dc
commit
f297b7f200
@ -42,6 +42,7 @@ AddUnitTestFailure (
|
|||||||
|
|
||||||
STATIC
|
STATIC
|
||||||
VOID
|
VOID
|
||||||
|
EFIAPI
|
||||||
UnitTestLogFailure (
|
UnitTestLogFailure (
|
||||||
IN FAILURE_TYPE FailureType,
|
IN FAILURE_TYPE FailureType,
|
||||||
IN CONST CHAR8 *Format,
|
IN CONST CHAR8 *Format,
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
#include <Library/DebugLib.h>
|
#include <Library/DebugLib.h>
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
|
EFIAPI
|
||||||
ReportPrint (
|
ReportPrint (
|
||||||
IN CONST CHAR8 *Format,
|
IN CONST CHAR8 *Format,
|
||||||
...
|
...
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
#include <Library/DebugLib.h>
|
#include <Library/DebugLib.h>
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
|
EFIAPI
|
||||||
ReportPrint (
|
ReportPrint (
|
||||||
IN CONST CHAR8 *Format,
|
IN CONST CHAR8 *Format,
|
||||||
...
|
...
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
#include <Library/DebugLib.h>
|
#include <Library/DebugLib.h>
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
|
EFIAPI
|
||||||
ReportPrint (
|
ReportPrint (
|
||||||
IN CONST CHAR8 *Format,
|
IN CONST CHAR8 *Format,
|
||||||
...
|
...
|
||||||
|
Reference in New Issue
Block a user