CryptoPkg/Test: call ProcessLibraryConstructorList

Needed to properly initialize BaseRngLib.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
Gerd Hoffmann 2024-06-14 11:45:49 +02:00 committed by mergify[bot]
parent ce91687a1b
commit 94961b8817

View File

@ -8,6 +8,12 @@
**/ **/
#include "TestBaseCryptLib.h" #include "TestBaseCryptLib.h"
VOID
EFIAPI
ProcessLibraryConstructorList (
VOID
);
/** /**
Initialize the unit test framework, suite, and unit tests for the Initialize the unit test framework, suite, and unit tests for the
sample unit tests and run the unit tests. sample unit tests and run the unit tests.
@ -76,5 +82,6 @@ main (
char *argv[] char *argv[]
) )
{ {
ProcessLibraryConstructorList ();
return UefiTestMain (); return UefiTestMain ();
} }