TF-M Reference Manual  1.2.0
TrustedFirmware-M
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ipc_s_interface_testsuite.c
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2018-2020, Arm Limited. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  *
6  */
7 
8 #include "ipc_s_tests.h"
9 #include "psa/client.h"
10 #include "test_framework_helpers.h"
11 
12 /* List of tests */
13 static void tfm_ipc_test_1001(struct test_result_t *ret);
14 
15 static struct test_t ipc_veneers_tests[] = {
16  {&tfm_ipc_test_1001, "TFM_IPC_TEST_1001", "Secure functional", {TEST_PASSED} },
17 };
18 
20 {
21  uint32_t list_size;
22 
23  list_size = (sizeof(ipc_veneers_tests) / sizeof(ipc_veneers_tests[0]));
24 
25  set_testsuite("IPC secure interface test (TFM_IPC_TEST_1XXX)",
26  ipc_veneers_tests, list_size, p_test_suite);
27 }
28 
36 static void tfm_ipc_test_1001(struct test_result_t *ret)
37 {
38  ret->val = TEST_PASSED;
39 }
enum test_suite_err_t set_testsuite(const char *name, struct test_t *test_list, uint32_t size, struct test_suite_t *p_ts)
Sets test suite parameters.
void register_testsuite_s_ipc_interface(struct test_suite_t *p_test_suite)
Register testsuite for ipc secure interface.
struct test_result_t ret
enum test_status_t val