public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Sct: SetDataFunction Check fail only occur when first run after by program Bios By DediProg Tool
@ 2022-12-01  5:24 Wang, Terry
  0 siblings, 0 replies; only message in thread
From: Wang, Terry @ 2022-12-01  5:24 UTC (permalink / raw)
  To: devel@edk2.groups.io
  Cc: Edhaya.Chandran@arm.com, gaojie@byosoft.com.cn, Gjertsen, Carolyn,
	Samer.El-Haj-Mahmoud@arm.com, eric.jin@intel.com,
	arvinx.chen@intel.com, Venkatesh, Supreeth, zhichao.gao@intel.com

[-- Attachment #1: Type: text/plain, Size: 1371 bytes --]

[AMD Official Use Only - General]

Hi Sir,
   I meet fail when do SetDataFunction Test and this only occurred on the first time after program Bios by DediProg
   The Function location :
      HIITest -> ConfigKeywordHandlerTest -> SetDataFunction

   I check the code flow and the result as below:
      The Function(BBTestSetDataFunctionTest) which is under ConfigKeywordHandlerBBTestFunction.c

  1.  The function call SetData with KeywordString1  and this would return NOT_FOUND (which is caused by ChipsetSATAPortDisable  Not Define in Vfr)
  2.  Then the function would call GetData with KeywordString2
  3.  The value is default define in "SctPkg\TestCase\UEFI\EFI\Protocol\ConfigKeywordHandler\BlackBoxTest\Dependency\SampleDriver\Vfr.vfr"

QuestionAboutTreeHugging and the value is "1"

Debug log as below:

GetData Results: NAMESPACE=x-UEFI-ns&PATH=01041400f4274aa000df424db55239511302113d7fff0400&KEYWORD=iSCSIBootEnable&VALUE=01

RespOfKeywordString2 = L"NAMESPACE=x-UEFI-ns&PATH=01041400f4274aa000df424db55239511302113d7fff0400&KEYWORD=iSCSIBootEnable&VALUE=00"

That's going to cause this condition to fail (0 == SctStrCmp(RespOfKeywordString2, Results))

Then fail occurred .

Fail Log as below:

[cid:image001.png@01D90585.26BC8AA0]


Please give you suggestion .

Best Regards
Terry Wang

















[-- Attachment #2: winmail.dat --]
[-- Type: application/ms-tnef, Size: 36065 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-12-01  5:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-01  5:24 Sct: SetDataFunction Check fail only occur when first run after by program Bios By DediProg Tool Wang, Terry

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox