Closed kuqin12 closed 6 months ago
All modified and coverable lines are covered by tests :white_check_mark:
:exclamation: No coverage uploaded for pull request base (
feature/spam@85e7e35
). Click here to learn what that means.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Preface
Please ensure you have read the contribution docs prior to submitting the pull request. In particular, pull request guidelines.
Description
This change added a test handler into the MM supervisor core to facilitate the testing of SPAM core validation in-situ.
The test handler will be registered at the entry point of MM core and the Shell test app will communicate to the supervisor to trigger the validation routine and return the policy and measurement digests.
For each item, place an "x" in between
[
and]
if true. Example:[x]
. (you can also check items in the GitHub UI)How This Was Tested
Tested on QEMU Q35.
Integration Instructions
NULL|SpamPkg/Core/Test/ResponderValidationTestLib.inf
into MmSupervisorCore.inf.MmSupervisorPkgTokenSpaceGuid.PcdMmSupervisorTestEnable
to TRUE.gEfiSpamPkgTokenSpaceGuid.PcdSpamMeasurementPcrIndex
to 0 to allow normal measurement from inside MM.SpamPkg/Tests/ResponderValidationTest/ResponderValidationTestApp.inf
to the dsc and fdf file.