blob: d29743cf6e9d5e66f02568a9052aff85a675d88b [file] [log] [blame]
Anton Komlev94758d42023-06-15 16:39:36 +01001/*
2 * Copyright (c) 2017-2022, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 *
6 */
7
8#include "test_app.h"
9#include "tfm_log.h"
David Hu479ef002023-10-20 14:44:32 +080010#ifdef TFM_NS_REG_TEST
Anton Komlev94758d42023-06-15 16:39:36 +010011#include "test_framework_integ_test.h"
David Hu479ef002023-10-20 14:44:32 +080012#endif
Anton Komlev94758d42023-06-15 16:39:36 +010013
14/**
15 * \brief Services test thread
16 *
17 */
18__attribute__((noreturn))
19void test_app(void *argument)
20{
21 UNUSED_VARIABLE(argument);
22
David Hu479ef002023-10-20 14:44:32 +080023#ifdef TFM_NS_REG_TEST
Anton Komlev94758d42023-06-15 16:39:36 +010024 tfm_non_secure_client_run_tests();
David Hu479ef002023-10-20 14:44:32 +080025#endif
Anton Komlev94758d42023-06-15 16:39:36 +010026
27 /* Output EOT char for test environments like FVP. */
28 LOG_MSG("\x04");
29
30 /* End of test */
31 for (;;) {
32 }
33}