blob: 7ab6017779f6c3fe5403663e70f5869ab330db0e [file] [log] [blame]
/*
* SPDX-FileCopyrightText: Copyright The TrustedFirmware-M Contributors
*
* SPDX-License-Identifier: BSD-3-Clause
*
*/
#include "test_app.h"
#include "tfm_tests_log_msg.h"
#ifdef TFM_NS_REG_TEST
#include "non_secure_suites.h"
#endif
#include "os_wrapper/thread.h"
/**
* \brief Services test thread
*
*/
__attribute__((noreturn))
void test_app(void *argument)
{
UNUSED_VARIABLE(argument);
#ifdef TFM_NS_REG_TEST
ns_reg_test_start();
#endif
/* Output EOT char for test environments like FVP. */
LOG_MSG("\x04");
/* End of test */
os_wrapper_thread_exit();
}