Build: NS Reg: Include profile test config file
Change-Id: I77ee911f8aed22cff83b11f76ce66617fe684cd3
Signed-off-by: Kevin Peng <kevin.peng@arm.com>
diff --git a/tests_reg/CMakeLists.txt b/tests_reg/CMakeLists.txt
index ef48995..b43c454 100644
--- a/tests_reg/CMakeLists.txt
+++ b/tests_reg/CMakeLists.txt
@@ -44,6 +44,10 @@
project(tfm_ns LANGUAGES C ASM)
tfm_toolchain_reload_compiler()
+if (TFM_PROFILE)
+ include(${CMAKE_CURRENT_LIST_DIR}/test/config/profile/${TFM_PROFILE}_test.cmake)
+endif()
+
# Default test configurations
include(${CMAKE_CURRENT_LIST_DIR}/test/config/default_test_config.cmake)
# Config check in case additional test configs passed in via command line.