blob: 1fc0b3dd5cb721e1ef42b56b2a56346ce5d72436 [file] [log] [blame]
/*
* Copyright (c) 2021-2022, Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*
*/
#ifndef __TEST_LOG_H__
#define __TEST_LOG_H__
#ifdef USE_SP_LOG
#include "tfm_sp_log.h"
#else
#include "tfm_log_raw.h"
#endif /* USE_SP_LOG */
#ifdef __cplusplus
extern "C" {
#endif
#ifdef USE_SP_LOG
#define TEST_LOG(...) printf(__VA_ARGS__)
#else
#define TEST_LOG(...) tfm_log_printf(__VA_ARGS__)
#endif /* USE_SP_LOG */
#ifdef __cplusplus
}
#endif
#endif /* __TEST_LOG_H__ */