Test: Disable Core, IPC and IRQ test in SFN model
This patch disable the following configs when CONFIG_TFM_SPM_BACKEND_SFN
is enabled:
- TEST_NS_IPC
- TEST_NS_CORE
- TEST_NS_FLIH_IRQ
- TEST_NS_SLIH_IRQ
Signed-off-by: Shawn Shan <Shawn.Shan@arm.com>
Change-Id: I2ded6ec46233274d14c25487737e42971ebc7c85
diff --git a/test/config/set_config.cmake b/test/config/set_config.cmake
index 9da5b85..70ebc3c 100644
--- a/test/config/set_config.cmake
+++ b/test/config/set_config.cmake
@@ -57,6 +57,12 @@
set(TEST_NS_SLIH_IRQ OFF CACHE BOOL "Whether to build NS regression Second-Level Interrupt Handling tests")
set(TEST_NS_FLIH_IRQ OFF CACHE BOOL "Whether to build NS regression First-Level Interrupt Handling tests")
+elseif(CONFIG_TFM_SPM_BACKEND_SFN)
+ set(TEST_NS_IPC OFF CACHE BOOL "Whether to build NS regression IPC tests")
+ set(TEST_NS_CORE OFF CACHE BOOL "Whether to build NS regression Core tests")
+
+ set(TEST_NS_SLIH_IRQ OFF CACHE BOOL "Whether to build NS regression Second-Level Interrupt Handling tests")
+ set(TEST_NS_FLIH_IRQ OFF CACHE BOOL "Whether to build NS regression First-Level Interrupt Handling tests")
endif()
if (NOT TFM_MULTI_CORE_TOPOLOGY)