Sound Open Firmware
Loading...
Searching...
No Matches
ut.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: BSD-3-Clause
2 *
3 * Copyright(c) 2019 Intel Corporation. All rights reserved.
4 *
5 * Author: Janusz Jankowski <janusz.jankowski@linux.intel.com>
6 */
7
8#ifndef __SOF_UT_H__
9#define __SOF_UT_H__
10
11/* UT_STATIC makes function unit-testable (non-static) when built for unit tests
12 */
13#if defined UNIT_TEST || defined __ZEPHYR__ || CONFIG_LIBRARY_STATIC
14#define UT_STATIC
15#else
16#define UT_STATIC static
17#endif
18
19#endif /* __SOF_UT_H__ */