From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:4864:20::343; helo=mail-wm1-x343.google.com; envelope-from=leif.lindholm@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 73EB421188C31 for ; Tue, 6 Nov 2018 09:46:10 -0800 (PST) Received: by mail-wm1-x343.google.com with SMTP id u13-v6so13064675wmc.4 for ; Tue, 06 Nov 2018 09:46:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=P1wARb7evaKInOCeJpp+GUaNAtqNEc5S9AtXZ28UK9U=; b=D036XLg//eBNXGhl6VI+pj4X+8abkbPchkU5/rY/acniqNbYrrz9JmhiTAUGXythjI XaKClSo600aOjfFOvqMJ/mIGjLPeLzGan2ukCRedYHx7vIjToj4OdF7HG0cFj2FqYIHP 2z43gCuIoY9sZa/Tm9ey7vL5wNqRtsTH+q9V4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=P1wARb7evaKInOCeJpp+GUaNAtqNEc5S9AtXZ28UK9U=; b=tOUiVyTJqFuzdx2sIPWZJnZtwvq7qaUTk4EAcE3MPt0Y5fwiOUb932a5/BTsnWtipA MzArF8IHvs9+rT+NptxWWe0J9xwxKGuAyy7ZP8qIP9b6eMXutZ7KxhNkzuLJ6mAA9i/w 3cpM0dZ+EWuiFGay/B3y4l0AybyewiZkLrEIFRMjKirC39rfKKOSVcBnJt+TTOy7FbEV RpNLMCJi/rMnGAoaHVarvqVoyFpM8t/YVzhfQ9Oo+jUQNBsp1zUi7/Xy8jA4F6aR+0qE p1jvXBVOoPQhaj5mt3YRWwI1TI6r5fEksiL9dqmLZQ6pejy0mnK0N3LCYvstHU325onp F5Dw== X-Gm-Message-State: AGRZ1gIc8SwLaNqO0oayNO+GoXNOAYY0EezLKEQEDWlvkqyGnhy9teSV L1pSThD73tjcBOcxDxwyR6sw8g== X-Google-Smtp-Source: AJdET5cMkP2qzHkvcvK2cieXqnOBRzHWKhcglz9SfnntuTgzoIaNpwBypumeClLrqR+GqjJ1LgwojA== X-Received: by 2002:a1c:7a03:: with SMTP id v3-v6mr2298478wmc.108.1541526368834; Tue, 06 Nov 2018 09:46:08 -0800 (PST) Received: from bivouac.eciton.net (bivouac.eciton.net. [2a00:1098:0:86:1000:23:0:2]) by smtp.gmail.com with ESMTPSA id c184-v6sm2064972wma.15.2018.11.06.09.46.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 06 Nov 2018 09:46:08 -0800 (PST) Date: Tue, 6 Nov 2018 17:46:06 +0000 From: Leif Lindholm To: Sakar Arora Cc: edk2-devel@lists.01.org, prasanth.pulla@arm.com, Eric Jin , Supreeth Venkatesh Message-ID: <20181106174606.kp7q5hmms7mnutut@bivouac.eciton.net> References: <1541494066-16288-1-git-send-email-sakar.arora@arm.com> <1541494066-16288-7-git-send-email-sakar.arora@arm.com> MIME-Version: 1.0 In-Reply-To: <1541494066-16288-7-git-send-email-sakar.arora@arm.com> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [edk2-test][RFC PATCH 07/12] uefi-sct/SctPkg: sbbr: Add test cases for SBBR v1.0 boot services X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Nov 2018 17:46:10 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Nov 06, 2018 at 02:17:41PM +0530, Sakar Arora wrote: > From: John Powell > > Tests SBBR requirements 3.4.1 and 3.4.4. > > Change-Id: I0dd625851db65d04d2a7572a2d6838951c8f7c67 > Signed-off-by: John Powell > --- > uefi-sct/SctPkg/CommonGenFramework.sh | 3 + > uefi-sct/SctPkg/Config/Data/Category.ini | 11 +- > .../SbbrBootServices/BlackBoxTest/Guid.c | 65 +++ > .../SbbrBootServices/BlackBoxTest/Guid.h | 76 +++ > .../BlackBoxTest/SbbrBootServicesBBTest.inf | 85 ++++ > .../BlackBoxTest/SbbrBootServicesBBTestFunction.c | 549 +++++++++++++++++++++ > .../BlackBoxTest/SbbrBootServicesBBTestFunction.h | 85 ++++ > .../BlackBoxTest/SbbrBootServicesBBTestMain.c | 149 ++++++ > .../BlackBoxTest/SbbrBootServicesBBTestMain.h | 99 ++++ > uefi-sct/SctPkg/UEFI/SBBR_SCT.dsc | 7 + > 10 files changed, 1127 insertions(+), 2 deletions(-) > create mode 100644 uefi-sct/SctPkg/TestCase/UEFI/EFI/BootServices/SbbrBootServices/BlackBoxTest/Guid.c > create mode 100644 uefi-sct/SctPkg/TestCase/UEFI/EFI/BootServices/SbbrBootServices/BlackBoxTest/Guid.h > create mode 100644 uefi-sct/SctPkg/TestCase/UEFI/EFI/BootServices/SbbrBootServices/BlackBoxTest/SbbrBootServicesBBTest.inf > create mode 100644 uefi-sct/SctPkg/TestCase/UEFI/EFI/BootServices/SbbrBootServices/BlackBoxTest/SbbrBootServicesBBTestFunction.c > create mode 100644 uefi-sct/SctPkg/TestCase/UEFI/EFI/BootServices/SbbrBootServices/BlackBoxTest/SbbrBootServicesBBTestFunction.h > create mode 100644 uefi-sct/SctPkg/TestCase/UEFI/EFI/BootServices/SbbrBootServices/BlackBoxTest/SbbrBootServicesBBTestMain.c > create mode 100644 uefi-sct/SctPkg/TestCase/UEFI/EFI/BootServices/SbbrBootServices/BlackBoxTest/SbbrBootServicesBBTestMain.h > > diff --git a/uefi-sct/SctPkg/CommonGenFramework.sh b/uefi-sct/SctPkg/CommonGenFramework.sh > index aecd21b..ab35c5a 100755 > --- a/uefi-sct/SctPkg/CommonGenFramework.sh > +++ b/uefi-sct/SctPkg/CommonGenFramework.sh > @@ -364,6 +364,9 @@ then > # Tests SBBR sections 3.3.1, 3.3.2, 3.3.3, and 3.3.4 > cp $ProcessorType/SysEnvConfigBBTest.efi $Framework/Test/ > NUL > > + # UEFI Boot Services - SBBR v1.0 3.4 > + cp $ProcessorType/SbbrBootServicesBBTest.efi $Framework/Test/ > NUL > + > # Runtime Services Tests - SBBR v1.0 Appendix B > cp $ProcessorType/VariableServicesBBTest.efi $Framework/Test/ > NUL > cp $ProcessorType/TimeServicesBBTest.efi $Framework/Test/ > NUL > diff --git a/uefi-sct/SctPkg/Config/Data/Category.ini b/uefi-sct/SctPkg/Config/Data/Category.ini > index 9576971..17ca639 100644 > --- a/uefi-sct/SctPkg/Config/Data/Category.ini > +++ b/uefi-sct/SctPkg/Config/Data/Category.ini > @@ -145,8 +145,15 @@ Description = > > [Category Data] > Revision = 0x00010000 > -CategoryGuid = AFF115FB-387B-4C18-8C41-6AFC7F03BB90 > -InterfaceGuid = AFF115FB-387B-4C18-8C41-6AFC7F03BB90 > +CategoryGuid = 8dafd7a7-44d0-4cf4-9d28-9f87080fc091 > +InterfaceGuid = E9EF7553-F833-4E56-96E8-38AE679523CC > +Name = BootServicesTest\SbbrBootServices > +Description = Tests SBBR boot services requirements. > + > +[Category Data] > +Revision = 0x00010000 > +CategoryGuid = AFF115FB-387B-4c18-8C41-6AFC7F03BB90 > +InterfaceGuid = AFF115FB-387B-4c18-8C41-6AFC7F03BB90 > Name = RuntimeServicesTest > Description = Diff would be more clear if added test was added after existing test. / Leif