]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/UefiSortLib:Add UefiSortLib unit test
authorWenyi Xie <xiewenyi2@huawei.com>
Wed, 11 Aug 2021 06:35:39 +0000 (14:35 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 12 Aug 2021 08:34:04 +0000 (08:34 +0000)
commitac826886c98524e918753419c039d8b44198943f
tree0b8d45a1319d19ce046c8d3a55db72f26a1bbcbb
parenta776bbabd9e8f370feb089cdc016324b1d6a37c7
MdeModulePkg/UefiSortLib:Add UefiSortLib unit test

Adding two unit test case for UefiSortLib. One is a test on
sorting an array of UINT32 by using PerformQuickSort, another
is a test on comparing the same buffer by using StringCompare.
Add 'main' function name to ECC exception list to avoid ECC
error.

Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Hao A Wu <hao.a.wu@intel.com>
Signed-off-by: Wenyi Xie <xiewenyi2@huawei.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
MdeModulePkg/Library/UefiSortLib/UnitTest/UefiSortLibUnitTest.c [new file with mode: 0644]
MdeModulePkg/Library/UefiSortLib/UnitTest/UefiSortLibUnitTest.inf [new file with mode: 0644]
MdeModulePkg/MdeModulePkg.ci.yaml
MdeModulePkg/Test/MdeModulePkgHostTest.dsc