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.cmake19
1 files changed, 19 insertions, 0 deletions
diff --git a/components/messaging/ffa/libsp/tests.cmake b/components/messaging/ffa/libsp/tests.cmake
new file mode 100644
index 000000000..f140b6044
--- /dev/null
+++ b/components/messaging/ffa/libsp/tests.cmake
@@ -0,0 +1,19 @@
+#
+# Copyright (c) 2020-2021, Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+
+include(UnitTest)
+
+unit_test_add_suite(
+ NAME libsp_mock_assert
+ SOURCES
+ ${CMAKE_CURRENT_LIST_DIR}/test/mock_assert.cpp
+ ${CMAKE_CURRENT_LIST_DIR}/test/test_mock_assert.cpp
+ INCLUDE_DIRECTORIES
+ ${CMAKE_CURRENT_LIST_DIR}/include/
+ ${PROJECT_PATH}/components/common/utils/include
+ COMPILE_DEFINITIONS
+ -DARM64
+)