CryptoPkg/Test: Simplify BaseCryptLib host based unit tests

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4130

Remove TestBaseCryptLibHostAccel.inf and instead use FILE_GUID
override in DSC file to run the same unit test INF against
OpensslLibFull.inf and OpensslLibFullAccel.inf

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Xiaoyu Lu <xiaoyu1.lu@intel.com>
Cc: Guomin Jiang <guomin.jiang@intel.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
This commit is contained in:
Michael D Kinney
2022-10-28 11:58:24 -07:00
committed by mergify[bot]
parent b5dbf8267b
commit 8487ec0ee7
2 changed files with 7 additions and 59 deletions

View File

@@ -1,56 +0,0 @@
## @file
# Host-based UnitTest for BaseCryptLib
#
# Copyright (c) Microsoft Corporation.<BR>
# Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
##
[Defines]
INF_VERSION = 0x00010005
BASE_NAME = BaseCryptLibUnitTestHostAccel
FILE_GUID = B1AED64E-B53A-4D69-B0BA-60EEDAC47A6B
MODULE_TYPE = HOST_APPLICATION
VERSION_STRING = 1.0
#
# The following information is for reference only and not required by the build tools.
#
# VALID_ARCHITECTURES = IA32 X64
#
[Sources]
UnitTestMain.c
BaseCryptLibUnitTests.c
TestBaseCryptLib.h
HashTests.c
HmacTests.c
BlockCipherTests.c
RsaTests.c
RsaPkcs7Tests.c
Pkcs5Pbkdf2Tests.c
AuthenticodeTests.c
TSTests.c
DhTests.c
RandTests.c
Pkcs7EkuTests.c
OaepEncryptTests.c
RsaPssTests.c
ParallelhashTests.c
HkdfTests.c
AeadAesGcmTests.c
BnTests.c
EcTests.c
X509Tests.c
[Packages]
MdePkg/MdePkg.dec
CryptoPkg/CryptoPkg.dec
[LibraryClasses]
BaseLib
DebugLib
BaseCryptLib
UnitTestLib
MmServicesTableLib
SynchronizationLib