Test: Add IPC test service

This is the first version for IPC secure function test service:
- Only psa_wait_any(), psa_get(), psa_read(), psa_write() and
  psa_end() are used now.
- Only support "block" mode for psa_wait_any()
Note:
- Remaining PSA functions TBD
- "Poll" mode for psa_wait_any() TBD

Change-Id: I882716075b9c92839d41372df355c364d24d7574
Signed-off-by: Edison Ai <edison.ai@arm.com>
diff --git a/test/test_services/CMakeLists.inc b/test/test_services/CMakeLists.inc
index 42c309c..85eda32 100644
--- a/test/test_services/CMakeLists.inc
+++ b/test/test_services/CMakeLists.inc
@@ -62,6 +62,13 @@
 	list(APPEND ALL_SRC_C_NS "${CORE_TEST_DIR}/tfm_secure_client_service/tfm_secure_client_service_api.c")
 endif()
 
+if (NOT DEFINED CORE_TEST_IPC)
+	message(FATAL_ERROR "Incomplete build configuration: CORE_TEST_IPC is undefined. ")
+elseif (CORE_TEST_IPC)
+	list(APPEND ALL_SRC_C_S "${CORE_TEST_DIR}/tfm_ipc_test/ipc_test_service.c"
+		)
+endif()
+
 embedded_include_directories(PATH ${TFM_ROOT_DIR} ABSOLUTE)
 embedded_include_directories(PATH ${TFM_ROOT_DIR}/interface/include ABSOLUTE)