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

Enable installing the RISCV_EFI_BOOT_PROTOCOL test
cases into the SCT directory.

Cc: G Edhaya Chandran <edhaya.chand...@arm.com>
Cc: Barton Gao <gao...@byosoft.com.cn>
Cc: Carolyn Gjertsen <carolyn.gjert...@amd.com>
Cc: Samer El-Haj-Mahmoud <samer.el-haj-mahm...@arm.com>
Cc: Eric Jin <eric....@intel.com>
Cc: Arvin Chen <arvinx.c...@intel.com>
Cc: Supreeth Venkatesh <supreeth.venkat...@amd.com>
Cc: Ard Biesheuvel <a...@kernel.org>
Cc: Heinrich Schuchardt <heinrich.schucha...@canonical.com>
Cc: Abner Chang <abner.ch...@hpe.com>

Signed-off-by: Sunil V L <suni...@ventanamicro.com>
Reviewed-by: Heinrich Schuchardt <heinrich.schucha...@canonical.com>
Tested-by: Heinrich Schuchardt <heinrich.schucha...@canonical.com>
---
 uefi-sct/SctPkg/CommonGenFramework.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/uefi-sct/SctPkg/CommonGenFramework.sh 
b/uefi-sct/SctPkg/CommonGenFramework.sh
index 779a6a44..fb9043b5 100755
--- a/uefi-sct/SctPkg/CommonGenFramework.sh
+++ b/uefi-sct/SctPkg/CommonGenFramework.sh
@@ -222,6 +222,10 @@ then
     cp $ProcessorType/PartitionInfoBBTest.efi                  
$Framework/Test/ > NUL
     cp $ProcessorType/UFSDeviceConfigBBTest.efi                
$Framework/Test/ > NUL
     cp $ProcessorType/ResetNotificationBBTest.efi              
$Framework/Test/ > NUL
+    # Only include RiscVBootProtocolBBTest.efi if the file exists (true on 
RISCV64)
+    if [ -e $ProcessorType/RiscVBootProtocolBBTest.efi ]; then
+      cp $ProcessorType/RiscVBootProtocolBBTest.efi              
$Framework/Test/ > NUL
+    fi
 
     # *********************************************
     # Copy ENTS binary
-- 
2.25.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#90392): https://edk2.groups.io/g/devel/message/90392
Mute This Topic: https://groups.io/mt/91642400/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to