]> git.proxmox.com Git - mirror_edk2.git/commit
UnitTestFrameworkPkg: Sample unit test hangs when running in OVMF/QEMU
authorGetnat Ejigu <getnatejigu@gmail.com>
Fri, 30 Apr 2021 21:07:49 +0000 (14:07 -0700)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 4 May 2021 00:51:20 +0000 (00:51 +0000)
commitf297b7f20010711e36e981fe45645302cc9d109d
tree0a09fd05d88d9964f5ffb6f10f9e3eaf2f96e065
parent8c8f49f0dc86e3c58d94766e6b194b83c1bef5c9
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>
UnitTestFrameworkPkg/Library/UnitTestLib/Assert.c
UnitTestFrameworkPkg/Library/UnitTestResultReportLib/UnitTestResultReportLib.c
UnitTestFrameworkPkg/Library/UnitTestResultReportLib/UnitTestResultReportLibConOut.c
UnitTestFrameworkPkg/Library/UnitTestResultReportLib/UnitTestResultReportLibDebugLib.c