aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSoby Mathew <soby.mathew@arm.com>2020-10-07 12:04:56 +0100
committerSoby Mathew <soby.mathew@arm.com>2020-10-19 15:25:21 +0000
commit3b9e184ccd57baf4b1e61031f8c916801ba13380 (patch)
treee0ccc23079a0cf861745d335e1f8a4db4d4fbd58 /CMakeLists.txt
parent32e005877e656812a654b4e5cbc8abaa3df3064c (diff)
downloadtrusted-firmware-m-3b9e184ccd57baf4b1e61031f8c916801ba13380.tar.gz
Build: Add config for PSA API tests
The PSA API tests need some of the default config to be overridden. Add capability to specify override parameters for PSA API tests via a separate and dedicated config file. Signed-off-by: Soby Mathew <soby.mathew@arm.com> Change-Id: Ifb4679a5b638f87233df7351a7aabfde64cc36de
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index cd2d85f22..68cf30aa7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -44,6 +44,11 @@ if (EXISTS ${CMAKE_SOURCE_DIR}/config/build_type/${CMAKE_BUILD_TYPE_LOWERCASE}.c
include(${CMAKE_SOURCE_DIR}/config/build_type/${CMAKE_BUILD_TYPE_LOWERCASE}.cmake)
endif()
+# If configured for tests, load config specific to tests overriding defaults.
+if (TEST_PSA_API)
+ include(config/tests/config_test_psa_api.cmake)
+endif()
+
# Then load the profile, overriding build type config, defaults and command
# line.
if (TFM_PROFILE)