From nobody Tue Nov 26 03:44:03 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+62283+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62283+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1594267538; cv=none; d=zohomail.com; s=zohoarc; b=ZB7OIxpcMlOp6b5/MEF9gi6qv5JzRh+Dr1xoh9jSEcYpBixiTCPdnb/6oP9bf2AadtU95fRmhnbgbnmCcOtGtTkxBLPZAzK6qRKGHx222HPI5CkxmJhP+ofURo4qPSeWwa45jaEW+oCN9fBEFZzDoDQTBpxapEdSFKj5oUxGUVs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594267538; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=Ml8r7wtIpW7drI7RYAo8qUv4I09FtcaBJbHJIrcZd3A=; b=Y+a4SYEK0Z7PCuCeOTXWcHSmTbNgKM5TzB2E0Xa4aT/ljWQXTY5oDgOKOux+bEBQK+GkKkge37Rh6cxgkZ/WbKVRoCD3taJJu8rvFrMBPuIBrDQ5Ng8uLvxmpQborJNNoUAb7TY01AcfSM4DLaC9J1PUcL0PMogMaepiKb/Ihu4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62283+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1594267538992673.8904692301592; Wed, 8 Jul 2020 21:05:38 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id hL05YY1788612xXz6ZoivdrI; Wed, 08 Jul 2020 21:05:38 -0700 X-Received: from mga07.intel.com (mga07.intel.com []) by mx.groups.io with SMTP id smtpd.web11.4378.1594267536731145998 for ; Wed, 08 Jul 2020 21:05:37 -0700 IronPort-SDR: o7rdCvO7XfSQsu7BvGQrzqU+YYG8Ub+rq9hcOHEJ5IdV2HkPgklHdQgAiMA8K/c6yaP5wlouw/ VqsuzV7O7Y0A== X-IronPort-AV: E=McAfee;i="6000,8403,9676"; a="212851083" X-IronPort-AV: E=Sophos;i="5.75,330,1589266800"; d="scan'208";a="212851083" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jul 2020 21:05:36 -0700 IronPort-SDR: E9QqrY0z2g+gMVMeQBt6xBd587SB4vTsOqUrlKrC3wagqh6lGWGIDa9jlr2N1nM99ZosSKSu8B VQ/R0hqBttKQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,330,1589266800"; d="scan'208";a="280163925" X-Received: from mdkinney-mobl2.amr.corp.intel.com ([10.255.230.8]) by orsmga003.jf.intel.com with ESMTP; 08 Jul 2020 21:05:36 -0700 From: "Michael D Kinney" To: devel@edk2.groups.io Cc: Sean Brogan , Bret Barkelew , Jiewen Yao Subject: [edk2-devel] [Patch v2 06/16] UnitTestFrameworkPkg: Use host libraries from MdePkg Date: Wed, 8 Jul 2020 21:05:11 -0700 Message-Id: <20200709040521.3748-7-michael.d.kinney@intel.com> In-Reply-To: <20200709040521.3748-1-michael.d.kinney@intel.com> References: <20200709040521.3748-1-michael.d.kinney@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,michael.d.kinney@intel.com X-Gm-Message-State: SiCsHvtxAYwet3a1kCyJ9HHSx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1594267538; bh=9IjBJ7b2LtMnzoJxcAwwuJbaVNikEjlQMRuprjDLfaU=; h=Cc:Date:From:Reply-To:Subject:To; b=I9lr8TyVmhSS56MkOJzck6sLitY/CAhpEDU2ugw91511/tpRn+AW31/j03IOo+Wnp5l YdmUkVR7IowqcxRLITcLtxg0DS4bYKgn5S97Id3RUqpREPD/AFzKBse9zqlbMiacbJU6h x3ZRlLSqZQgSPpn2rh4IILZM+Rlav1faprs= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2800 REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2799 REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2798 Update the default unit test library mappings to use the library instances from the MdePkg that are safe for host based unit tests. Cc: Sean Brogan Cc: Bret Barkelew Cc: Jiewen Yao Signed-off-by: Michael D Kinney --- UnitTestFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/UnitTestFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc b/UnitTe= stFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc index e954968efc..f6a5b16096 100644 --- a/UnitTestFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc +++ b/UnitTestFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc @@ -9,6 +9,9 @@ !include UnitTestFrameworkPkg/UnitTestFrameworkPkgTarget.dsc.inc =20 [LibraryClasses.common.HOST_APPLICATION] + BaseLib|MdePkg/Library/BaseLib/UnitTestHostBaseLib.inf + CpuLib|MdePkg/Library/BaseCpuLibNull/BaseCpuLibNull.inf + CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLibNull/BaseCache= MaintenanceLibNull.inf CmockaLib|UnitTestFrameworkPkg/Library/CmockaLib/CmockaLib.inf UnitTestLib|UnitTestFrameworkPkg/Library/UnitTestLib/UnitTestLibCmocka.i= nf DebugLib|UnitTestFrameworkPkg/Library/Posix/DebugLibPosix/DebugLibPosix.= inf --=20 2.21.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#62283): https://edk2.groups.io/g/devel/message/62283 Mute This Topic: https://groups.io/mt/75391613/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-