From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (NAM11-DM6-obe.outbound.protection.outlook.com [40.92.19.43]) by mx.groups.io with SMTP id smtpd.web12.963.1587494125193857735 for ; Tue, 21 Apr 2020 11:35:25 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@outlook.com header.s=selector1 header.b=URNh0WGm; spf=pass (domain: outlook.com, ip: 40.92.19.43, mailfrom: michael.kubacki@outlook.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dgwVTe6tfPkAKGID3QApuE5iTnyelOHeT+wUtq5/Z9GcnQfbBwhhjTEceZZsdOCAsNp4E8H0Nw5skvC6aPOdFgfaBpgw0PYbfzzTZ9LdODqJJnCqVRO6RBFm0hEzvtJKrb04GOEuWsoySWpebY1MNPtMS02UN4TjwhGdq/pAgUW64xL4MwufcEZXa9b9oDkcFHIdQq+pMvZsQNZnN19WvPBUf8nlgOX/G1/M5MXVNSKqqttzlhm4irDia12PhggyBzHI7TmJnC0PA7R7ZdOk4PzstRuc4I/RUQodmyPyGURs5IDehgAPRmmeCuH7Q7JLgKxOxeElhe6vwAQZVsWx6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qbktTbX703Ob/Afvz6BSbpU55qCtjGDtd7MhfRjDYt8=; b=Zgg2zr5Hylp74Xrf+UakZ4hKOFsQvBJqo1QMPwX2adT1N/O8slc8j2RzQOwvZCj41+fr3ZhedEe0ZH7eGS0z0JT3hh1dG8kPufRKUW6F5uOxP323o9d1IX4g4Sh/njXn62lJ4bJkBcozTL8TWXtloTXYxNXws2gAWRPazH73G7zWS/gSAcoU43yD7+JtZHjaeMaKtGf5AAFvKHEPc9zCJElfaInRylcdpY7gLXOzmu8fkQQvIjn4sALyYHK+sMtdWuEI4rhVFzRjpfFARawyqCksXPT1xsYAX3wCOOF9CzE8rlEB32EZr6cUnS/MgOqE4FskJDurQPIk5P8JvmPLXQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=outlook.com; dmarc=pass action=none header.from=outlook.com; dkim=pass header.d=outlook.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qbktTbX703Ob/Afvz6BSbpU55qCtjGDtd7MhfRjDYt8=; b=URNh0WGm9tUuvYK08DFVQVPTrnGXc28goEXRajG5UqCbxM2j0hyYwFA0nMcaUrivk0OS47MOEWijTKZ9wjFeTAgTBAuqjncH1PpxT687dHjniq/FnMzFbdjtToEP8LjlckAzhr3MVEak0bKVuL+wZuqc8+TufSahtC6YW+SQtvL4hboiywDhR0jiD5UDK9HNuCct180R1dN/8LC5h0EwYR9MCjcLIUK2lKb/iz7ooKqkksaAWw5U9YRkGVk2pd9kRUKvSuZkF0xUgpewKp62m0UuusrES0da0wwluCak0pN7bLmRB4VIG+yWqGC2Z1sTxIm1NyLxMy/SvmF1K6Bx4Q== Received: from DM6NAM11FT059.eop-nam11.prod.protection.outlook.com (2a01:111:e400:fc4d::52) by DM6NAM11HT053.eop-nam11.prod.protection.outlook.com (2a01:111:e400:fc4d::249) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2921.25; Tue, 21 Apr 2020 18:35:24 +0000 Received: from MWHPR07MB3440.namprd07.prod.outlook.com (2a01:111:e400:fc4d::4c) by DM6NAM11FT059.mail.protection.outlook.com (2a01:111:e400:fc4d::92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2921.25 via Frontend Transport; Tue, 21 Apr 2020 18:35:24 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:1547E5FA61975C167015C75CC2D4E519BD6D587595E8B97904A0AC3ABC3B1AB6;UpperCasedChecksum:EE3F9EEF7600EBCC607BEB8E34034BF5F911336927AC0325800E93D4C56D00F5;SizeAsReceived:7699;Count:47 Received: from MWHPR07MB3440.namprd07.prod.outlook.com ([fe80::bcc9:271b:20db:52e3]) by MWHPR07MB3440.namprd07.prod.outlook.com ([fe80::bcc9:271b:20db:52e3%6]) with mapi id 15.20.2921.030; Tue, 21 Apr 2020 18:35:24 +0000 From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Bret Barkelew , Sean Brogan , Liming Gao , Michael D Kinney Subject: [PATCH v1 0/2] Drop FrameworkHandle param from SaveFrameworkState() Date: Tue, 21 Apr 2020 11:35:00 -0700 Message-ID: X-Mailer: git-send-email 2.16.3.windows.1 X-ClientProxiedBy: MWHPR19CA0085.namprd19.prod.outlook.com (2603:10b6:320:1f::23) To MWHPR07MB3440.namprd07.prod.outlook.com (2603:10b6:301:69::28) Return-Path: michael.kubacki@outlook.com X-Microsoft-Original-Message-ID: <20200421183502.39876-1-michael.kubacki@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (2001:4898:80e8:b:3907:8d1b:5bae:c73c) by MWHPR19CA0085.namprd19.prod.outlook.com (2603:10b6:320:1f::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2937.13 via Frontend Transport; Tue, 21 Apr 2020 18:35:23 +0000 X-Mailer: git-send-email 2.16.3.windows.1 X-Microsoft-Original-Message-ID: <20200421183502.39876-1-michael.kubacki@outlook.com> X-TMN: [MPUdADsAuyqswh1azkex4pLjQmRJ4x05cbkMZ2y0i332t0vinftn3rgZlz9Y2+lr] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 47 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: aa991686-1b7e-41a9-82c6-08d7e622c099 X-MS-TrafficTypeDiagnostic: DM6NAM11HT053: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7mMnrGyvScwmff196iv2VwZW3EQsBkgSTNN59o1ovvRlaGxEL2HB+mMbriQZpAsyVZrdFLEOJ2wjTaOHMpJsfAl/nNZCA+1uj1ZL1MFBM7QS7qrNfKEJAMQKDFNpDxq4q/iC7L+vI9I0PeVfRYUdlHatfb26O6tA/Vxl/UPBF3ygrt818Rl9gMPlWcrdZB2mKZE1WhB52/h1nADlpGvqBSATNF+CV+M9zpuR4xiRMrxJzkfT8u5dxsEn8L/SQvgw X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:0;SRV:;IPV:NLI;SFV:NSPM;H:MWHPR07MB3440.namprd07.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:;DIR:OUT;SFP:1901; X-MS-Exchange-AntiSpam-MessageData: KLDvQxs6uiFm9l7Z/ixsoKK58ikbzNhEUnTpcHJL5IGJhQrvwlD7XJaiJwjkQIDu+xyoR+SUbbWbEGipRlKYFdlc7xqXxY8S11MvjMwMEYxGSXxGtoV7qD9xfUc0YWzid0lzie6EkqUB4Gc//k1sauCC1w3Pg1APrjXAerLCN42knGr+vXyDPBQPrFd21nFC2OL8z3tsUauANNQzQy7EIg== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: aa991686-1b7e-41a9-82c6-08d7e622c099 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Apr 2020 18:35:24.0711 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6NAM11HT053 Content-Type: text/plain From: Michael Kubacki REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2612 Simplifies the SaveFrameworkState() interface by removing the FrameworkHandle parameter. The expectation is that this API is called from within a test suite prior to test case completion such as a reboot. The active framework is tracked internally to the initialization API. Cc: Bret Barkelew Cc: Sean Brogan Cc: Liming Gao Cc: Michael D Kinney Signed-off-by: Michael Kubacki Michael Kubacki (2): MdePkg/UnitTestLib.h: Drop FrameworkHandle param from SaveFrameworkState() UnitTestFrameworkPkg/UnitTestLib: Update SaveFrameworkState() signature UnitTestFrameworkPkg/Library/UnitTestLib/RunTests.c | 2 +- UnitTestFrameworkPkg/Library/UnitTestLib/UnitTestLib.c | 25 ++++++++++++-------- MdePkg/Include/Library/UnitTestLib.h | 9 +++---- 3 files changed, 19 insertions(+), 17 deletions(-) -- 2.16.3.windows.1