aboutsummaryrefslogtreecommitdiff
path: root/components/messaging/ffa/libsp/tests.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'components/messaging/ffa/libsp/tests.cmake')
-rw-r--r--components/messaging/ffa/libsp/tests.cmake30
1 files changed, 30 insertions, 0 deletions
diff --git a/components/messaging/ffa/libsp/tests.cmake b/components/messaging/ffa/libsp/tests.cmake
index 39adc97..7096916 100644
--- a/components/messaging/ffa/libsp/tests.cmake
+++ b/components/messaging/ffa/libsp/tests.cmake
@@ -96,3 +96,33 @@ unit_test_add_suite(
COMPILE_DEFINITIONS
-DARM64
)
+
+unit_test_add_suite(
+ NAME libsp_sp_memory_management
+ SOURCES
+ ${CMAKE_CURRENT_LIST_DIR}/test/test_sp_memory_management.cpp
+ ${CMAKE_CURRENT_LIST_DIR}/sp_memory_management.c
+ ${CMAKE_CURRENT_LIST_DIR}/ffa_memory_descriptors.c
+ ${CMAKE_CURRENT_LIST_DIR}/test/mock_assert.cpp
+ ${CMAKE_CURRENT_LIST_DIR}/test/mock_ffa_api.cpp
+ ${CMAKE_CURRENT_LIST_DIR}/test/mock_sp_rxtx.cpp
+ INCLUDE_DIRECTORIES
+ ${CMAKE_CURRENT_LIST_DIR}/include/
+ ${PROJECT_PATH}/components/common/utils/include
+ COMPILE_DEFINITIONS
+ -DARM64
+)
+
+unit_test_add_suite(
+ NAME libsp_sp_memory_management_internals
+ SOURCES
+ ${CMAKE_CURRENT_LIST_DIR}/test/test_sp_memory_management_internals.cpp
+ ${CMAKE_CURRENT_LIST_DIR}/test/sp_memory_management_internals.yml
+ ${CMAKE_CURRENT_LIST_DIR}/ffa_memory_descriptors.c
+ ${CMAKE_CURRENT_LIST_DIR}/test/mock_assert.cpp
+ INCLUDE_DIRECTORIES
+ ${CMAKE_CURRENT_LIST_DIR}/include/
+ ${PROJECT_PATH}/components/common/utils/include
+ COMPILE_DEFINITIONS
+ -DARM64
+)