Closed ardbiesheuvel closed 2 months ago
Shouldn't we fix the test cases instead of reverting the whole thing?
Yes, the missing constructor call is one issue, easily fixed by sprinkling in a ProcessLibraryConstructorList()
call.
Next problem is AsmCpuid()
returning nothing. Simply setting the rdrand feature bit makes the test cases work. Which is strictly speaking is not correct, but the test cases used rdrand without an actual check before, so its at least not worse than it used to be.
Strongly prefer the fix in #5775 - demoting to draft for now.
Reverts https://github.com/tianocore/edk2/pull/5714
Crypto unit tests are failing, ~possibly due to RDRAND issues on the CI infra servers~ due to a missing call to the RngLib constructor in the test cases.
@kraxel
(this replaces the github generated revert PR #5771 which did not pass the CI)