blob: 091e268f080db76be8f4c1763b08381ea63db7aa [file] [log] [blame]
Raef Coles652bb8a2020-09-24 11:27:38 +01001#-------------------------------------------------------------------------------
Sherry Zhang92c499a2021-03-08 18:14:15 +08002# Copyright (c) 2020-2021, Arm Limited. All rights reserved.
Raef Coles652bb8a2020-09-24 11:27:38 +01003#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6#-------------------------------------------------------------------------------
7
David Hucf299b12021-09-12 16:41:48 +08008# Install directory for non-secure interface API of test services
9# NS can pick up those interface files to build non-secure test cases
10set(TEST_SERVICE_SRC_INSTALL_DIR ${TFM_INSTALL_PATH}/interface/src/test_service)
11set(TEST_SERVICE_INC_INSTALL_DIR ${TFM_INSTALL_PATH}/interface/include/test_service)
Raef Coles652bb8a2020-09-24 11:27:38 +010012
Kevin Pengac815872021-10-25 17:59:59 +080013if (TFM_PARTITION_ATTESTATION_TEST)
shejia01e0dd80a2021-07-12 17:47:50 +080014 add_subdirectory(tfm_attest_test_service)
Kevin Penga8604332021-04-23 17:33:30 +080015endif()
shejia01e0dd80a2021-07-12 17:47:50 +080016
17if (TEST_NS_CORE)
18 add_subdirectory(tfm_core_test)
19 add_subdirectory(tfm_core_test_2)
Kevin Pengb0c06b42021-05-11 16:30:53 +080020endif()
shejia01e0dd80a2021-07-12 17:47:50 +080021
Kevin Pengac815872021-10-25 17:59:59 +080022if (TFM_PARTITION_IPC_TEST)
shejia01e0dd80a2021-07-12 17:47:50 +080023 add_subdirectory(tfm_ipc_client)
24 add_subdirectory(tfm_ipc_service)
25endif()
26
27if (TEST_S_PS)
28 add_subdirectory(tfm_ps_test_service)
29endif()
30
31if (TEST_FRAMEWORK_S)
David Hu4f538e42020-11-09 16:46:17 +080032 add_subdirectory(tfm_secure_client_service)
33 add_subdirectory(tfm_secure_client_2)
34endif()
shejia01e0dd80a2021-07-12 17:47:50 +080035
36if (TEST_NS_SLIH_IRQ)
37 add_subdirectory(tfm_slih_test_service)
Raef Coles652bb8a2020-09-24 11:27:38 +010038endif()
shejia01e0dd80a2021-07-12 17:47:50 +080039
40if (TEST_NS_FLIH_IRQ)
41 add_subdirectory(tfm_flih_test_service)
42endif()
Feder Liangdb53c6b2021-09-07 15:42:09 +080043
44if (TEST_S_FPU)
45 add_subdirectory(tfm_fpu_service)
46endif()
Mingyang Sun5df46242021-11-03 18:31:04 +080047
48if (TEST_NS_SFN_BACKEND)
49 add_subdirectory(tfm_test_sfn_partitions/sfn_partition1)
50 add_subdirectory(tfm_test_sfn_partitions/sfn_partition2)
51endif()