public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Supreeth Venkatesh <supreeth.venkatesh@arm.com>
To: edk2-devel@lists.01.org
Cc: Supreeth Venkatesh <supreeth.venkatesh@arm.com>, eric.jin@intel.com
Subject: [edk2-test][PATCH v1 25/30] EFI/Protocol: Fix inf files for SimpleText protocol tests.
Date: Thu, 28 Mar 2019 18:12:17 -0500	[thread overview]
Message-ID: <20190328231222.4717-25-supreeth.venkatesh@arm.com> (raw)
In-Reply-To: <20190328231222.4717-1-supreeth.venkatesh@arm.com>

Fix compilation issues in inf files when compiled against edk2 stable
tag edk2-stable201903.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Supreeth Venkatesh <supreeth.venkatesh@arm.com>
---
 .../BlackBoxTest/SimpleTextInBBTest.inf       | 27 ++++++++---------
 .../BlackBoxTest/SimpleTextInputExBBTest.inf  | 26 +++++++++--------
 .../BlackBoxTest/SimpleTextOutBBTest_uefi.inf | 29 ++++++++++---------
 3 files changed, 44 insertions(+), 38 deletions(-)

diff --git a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/SimpleTextIn/BlackBoxTest/SimpleTextInBBTest.inf b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/SimpleTextIn/BlackBoxTest/SimpleTextInBBTest.inf
index 58f4e694..7e48b285 100644
--- a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/SimpleTextIn/BlackBoxTest/SimpleTextInBBTest.inf
+++ b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/SimpleTextIn/BlackBoxTest/SimpleTextInBBTest.inf
@@ -2,6 +2,7 @@
 #
 #  Copyright 2006 - 2012 Unified EFI, Inc.<BR>
 #  Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR>
+#  Copyright (c) 2019, ARM Ltd. All rights reserved.<BR>
 #
 #  This program and the accompanying materials
 #  are licensed and made available under the terms and conditions of the BSD License
@@ -25,9 +26,13 @@
 #--*/
 
 [defines]
+INF_VERSION          = 0x00010005
 BASE_NAME            = SimpleTextInBBTest
 FILE_GUID            = F2B23429-F4F2-4f47-BC26-3E76B5C35DB6
 COMPONENT_TYPE       = BS_DRIVER
+MODULE_TYPE          = UEFI_DRIVER
+VERSION_STRING       = 1.0
+ENTRY_POINT          = InitializeBBTestSimpleTextIn
 
 [sources.common]
   SimpleTextInBBTestMain.c
@@ -38,20 +43,16 @@ COMPONENT_TYPE       = BS_DRIVER
   SimpleTextInBBTestData.c
   Guid.c
 
-[includes.common]
-  .
-  $(WORKSPACE)/SctPkg
-  $(WORKSPACE)/SctPkg/UEFI
-  $(WORKSPACE)/SctPkg/Include
-  $(WORKSPACE)/SctPkg/Include/Legacy
-  $(WORKSPACE)/MdePkg/Include
+[Packages]
+  SctPkg/SctPkg.dec
+  SctPkg/UEFI/UEFI.dec
+  MdePkg/MdePkg.dec
 
-[libraries.common]
+[LibraryClasses]
+  UefiDriverEntryPoint
   SctLib
-  SctGuidLib
   EfiTestLib
-  BaseDebugLibNull
-  CompilerIntrinsicsLib
 
-[nmake.common]
-  IMAGE_ENTRY_POINT = InitializeBBTestSimpleTextIn
+[Protocols]
+  gBlackBoxEfiSimpleTextInProtocolGuid
+  gBlackBoxEfiDevicePathProtocolGuid
diff --git a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/SimpleTextInputEx/BlackBoxTest/SimpleTextInputExBBTest.inf b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/SimpleTextInputEx/BlackBoxTest/SimpleTextInputExBBTest.inf
index 4dd1ac79..dfe55525 100644
--- a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/SimpleTextInputEx/BlackBoxTest/SimpleTextInputExBBTest.inf
+++ b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/SimpleTextInputEx/BlackBoxTest/SimpleTextInputExBBTest.inf
@@ -2,6 +2,7 @@
 #
 #  Copyright 2006 - 2012 Unified EFI, Inc.<BR>
 #  Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR>
+#  Copyright (c) 2019, ARM Ltd. All rights reserved.<BR>
 #
 #  This program and the accompanying materials
 #  are licensed and made available under the terms and conditions of the BSD License
@@ -25,9 +26,13 @@
 #--*/
 
 [defines]
+INF_VERSION          = 0x00010005
 BASE_NAME            = SimpleTextInputExBBTest
 FILE_GUID            = 2B09ED2D-8F15-4e56-A4B5-988209FA7DC4
 COMPONENT_TYPE       = BS_DRIVER
+MODULE_TYPE          = UEFI_DRIVER
+VERSION_STRING       = 1.0
+ENTRY_POINT          = InitializeSimpleTextInputExBBTest
 
 [sources.common]
   SimpleTextInputExBBTestConformance.c
@@ -35,19 +40,16 @@ COMPONENT_TYPE       = BS_DRIVER
   SimpleTextInputExBBTestMain.c
   Guid.c
 
-[includes.common]
-  .
-  $(WORKSPACE)/SctPkg
-  $(WORKSPACE)/SctPkg/UEFI
-  $(WORKSPACE)/SctPkg/Include
-  $(WORKSPACE)/MdePkg/Include
+[Packages]
+  SctPkg/SctPkg.dec
+  SctPkg/UEFI/UEFI.dec
+  MdePkg/MdePkg.dec
 
-[libraries.common]
+[LibraryClasses]
+  UefiDriverEntryPoint
   SctLib
-  SctGuidLib
   EfiTestLib
-  BaseDebugLibNull
-  CompilerIntrinsicsLib
 
-[nmake.common]
-  IMAGE_ENTRY_POINT=InitializeSimpleTextInputExBBTest
+[Protocols]
+  gBlackBoxEfiSimpleTextInputExProtocolGuid
+  gBlackBoxEfiDevicePathProtocolGuid
diff --git a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/SimpleTextOut/BlackBoxTest/SimpleTextOutBBTest_uefi.inf b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/SimpleTextOut/BlackBoxTest/SimpleTextOutBBTest_uefi.inf
index 48902440..7cb05933 100644
--- a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/SimpleTextOut/BlackBoxTest/SimpleTextOutBBTest_uefi.inf
+++ b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/SimpleTextOut/BlackBoxTest/SimpleTextOutBBTest_uefi.inf
@@ -2,6 +2,7 @@
 #
 #  Copyright 2006 - 2012 Unified EFI, Inc.<BR>
 #  Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR>
+#  Copyright (c) 2019, ARM Ltd. All rights reserved.<BR>
 #
 #  This program and the accompanying materials
 #  are licensed and made available under the terms and conditions of the BSD License
@@ -25,9 +26,13 @@
 #--*/
 
 [defines]
+INF_VERSION          = 0x00010005
 BASE_NAME            = SimpleTextOutBBTest
 FILE_GUID            = FDD8ABEF-7BD8-4d4e-94C3-345F5084D91B
 COMPONENT_TYPE       = BS_DRIVER
+MODULE_TYPE          = UEFI_DRIVER
+VERSION_STRING       = 1.0
+ENTRY_POINT          = InitializeBBTestSimpleTextOutput
 
 [sources.common]
  SimpleTextOutBBTestMain_uefi.c
@@ -35,20 +40,18 @@ COMPONENT_TYPE       = BS_DRIVER
  SimpleTextOutBBTestConformance_uefi.c
  Guid_uefi.c
 
-[includes.common]
-  .
-  $(WORKSPACE)/SctPkg
-  $(WORKSPACE)/SctPkg/UEFI
-  $(WORKSPACE)/SctPkg/Include
-  $(WORKSPACE)/SctPkg/Include/Legacy
-  $(WORKSPACE)/MdePkg/Include
+[Packages]
+  SctPkg/SctPkg.dec
+  SctPkg/UEFI/UEFI.dec
+  MdePkg/MdePkg.dec
 
-[libraries.common]
+[LibraryClasses]
+  UefiDriverEntryPoint
   SctLib
-  SctGuidLib
   EfiTestLib
-  BaseDebugLibNull
-  CompilerIntrinsicsLib
 
-[nmake.common]
-  IMAGE_ENTRY_POINT=InitializeBBTestSimpleTextOutput
+[Protocols]
+  gBlackBoxEfiSimpleTextOutProtocolGuid
+  gBlackBoxEfiDevicePathProtocolGuid
+  gBlackBoxEfiGraphicsOutputProtocolGuid
+
-- 
2.17.1



  parent reply	other threads:[~2019-03-28 23:13 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-28 23:11 [edk2-test][PATCH v1 01/30] SctPkg/UEFI: Modify description files to ignore Ebc for AArch64 Supreeth Venkatesh
2019-03-28 23:11 ` [edk2-test][PATCH v1 02/30] SctPkg: Ignore Ebc protocol test " Supreeth Venkatesh
2019-03-28 23:11 ` [edk2-test][PATCH v1 03/30] IHV/Protocol: Fix inf files for IHV protocol tests Supreeth Venkatesh
2019-03-28 23:11 ` [edk2-test][PATCH v1 04/30] RIVL/Protocol: Fix inf files for RIVL Arp " Supreeth Venkatesh
2019-03-28 23:11 ` [edk2-test][PATCH v1 05/30] RIVL/Protocol: Fix inf files for Dhcp4 " Supreeth Venkatesh
2019-03-28 23:11 ` [edk2-test][PATCH v1 06/30] RIVL/Protocol: Fix inf files for Dhcp6 " Supreeth Venkatesh
2019-03-28 23:11 ` [edk2-test][PATCH v1 07/30] RIVL/Protocol: Fix inf files for Http " Supreeth Venkatesh
2019-03-28 23:12 ` [edk2-test][PATCH v1 08/30] RIVL/Protocol: Fix inf files for InternetProtocol4 tests Supreeth Venkatesh
2019-03-28 23:12 ` [edk2-test][PATCH v1 09/30] RIVL/Protocol: Fix inf files for Ip6 tests Supreeth Venkatesh
2019-03-28 23:12 ` [edk2-test][PATCH v1 10/30] RIVL/Protocol: Fix inf files for Managed network protocol tests Supreeth Venkatesh
2019-03-28 23:12 ` [edk2-test][PATCH v1 11/30] RIVL/Protocol: Fix inf files for Mtftp4 " Supreeth Venkatesh
2019-03-28 23:12 ` [edk2-test][PATCH v1 12/30] RIVL/Protocol: Fix inf files for Mtftp6 " Supreeth Venkatesh
2019-03-28 23:12 ` [edk2-test][PATCH v1 13/30] RIVL/Protocol: fix inf file for PXE protocol test Supreeth Venkatesh
2019-03-28 23:12 ` [edk2-test][PATCH v1 14/30] RIVL/Protocol: Fix inf files for Simple Network " Supreeth Venkatesh
2019-03-28 23:12 ` [edk2-test][PATCH v1 15/30] RIVL/Protocol: Fix inf files for Tcp4 protocol tests Supreeth Venkatesh
2019-03-28 23:12 ` [edk2-test][PATCH v1 16/30] RIVL/Protocol: Fix inf file for Tcp6 " Supreeth Venkatesh
2019-03-28 23:12 ` [edk2-test][PATCH v1 17/30] RIVL/Protocol: Fix inf files for Udp4 " Supreeth Venkatesh
2019-03-28 23:12 ` [edk2-test][PATCH v1 18/30] RIVL/Protocol: Fix inf files for Udp6 " Supreeth Venkatesh
2019-03-28 23:12 ` [edk2-test][PATCH v1 19/30] BootServices: Fix inf files for ImageServices dependency data files Supreeth Venkatesh
2019-03-28 23:12 ` [edk2-test][PATCH v1 20/30] EFI/Protocol: Fix inf file for DebugSupport protocol test Supreeth Venkatesh
2019-03-28 23:12 ` [edk2-test][PATCH v1 21/30] EFI/Protocol: Fix inf files for Decompress protocol dependency data Supreeth Venkatesh
2019-03-28 23:12 ` [edk2-test][PATCH v1 22/30] EFI/Protocol: Fix inf files for DevicePath related protocol tests Supreeth Venkatesh
2019-03-28 23:12 ` [edk2-test][PATCH v1 23/30] EFI/Protocol: Fix inf files for HII " Supreeth Venkatesh
2019-03-28 23:12 ` [edk2-test][PATCH v1 24/30] UEFI/Protocol: Remove struct and enum in Hii defines file Supreeth Venkatesh
2019-03-28 23:12 ` Supreeth Venkatesh [this message]
2019-03-28 23:12 ` [edk2-test][PATCH v1 26/30] EFI/Protocol: Fix inf files for Pci protocol related dependency data Supreeth Venkatesh
2019-03-28 23:12 ` [edk2-test][PATCH v1 27/30] EFI/Protocol: Fix inf file for LoadedImage protocol test Supreeth Venkatesh
2019-03-28 23:12 ` [edk2-test][PATCH v1 28/30] EFI/Protocol: Fix inf file for PxeBase dependency data Supreeth Venkatesh
2019-03-28 23:12 ` [edk2-test][PATCH v1 29/30] EFI/Protocol: Fix inf file for SimpleFileSystem protocol test Supreeth Venkatesh
2019-03-28 23:12 ` [edk2-test][PATCH v1 30/30] UEFI/UEFI.dec: Add missing protocol GUIDs in declaration file Supreeth Venkatesh
2019-03-29  9:03   ` Jin, Eric
2019-03-29 14:12     ` Supreeth Venkatesh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190328231222.4717-25-supreeth.venkatesh@arm.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox