mirror of https://github.com/acidanthera/audk.git
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:
parent
8c8f49f0dc
commit
f297b7f200
|
@ -42,6 +42,7 @@ AddUnitTestFailure (
|
|||
|
||||
STATIC
|
||||
VOID
|
||||
EFIAPI
|
||||
UnitTestLogFailure (
|
||||
IN FAILURE_TYPE FailureType,
|
||||
IN CONST CHAR8 *Format,
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
#include <Library/DebugLib.h>
|
||||
|
||||
VOID
|
||||
EFIAPI
|
||||
ReportPrint (
|
||||
IN CONST CHAR8 *Format,
|
||||
...
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
#include <Library/DebugLib.h>
|
||||
|
||||
VOID
|
||||
EFIAPI
|
||||
ReportPrint (
|
||||
IN CONST CHAR8 *Format,
|
||||
...
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
#include <Library/DebugLib.h>
|
||||
|
||||
VOID
|
||||
EFIAPI
|
||||
ReportPrint (
|
||||
IN CONST CHAR8 *Format,
|
||||
...
|
||||
|
|
Loading…
Reference in New Issue