]> Git Repo - J-u-boot.git/blob - include/test/log.h
arm: dts: ls1088a-rdb: replace 'xgmii' with '10gbase-r'
[J-u-boot.git] / include / test / log.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (c) 2020, Heinrich Schuchardt <[email protected]>
4  *
5  * Tests for logging functions
6  */
7
8 #ifndef __TEST_LOG_H__
9 #define __TEST_LOG_H__
10
11 #include <test/test.h>
12
13 #define LOGF_TEST (BIT(LOGF_FUNC) | BIT(LOGF_MSG))
14
15 /* Declare a new logging test */
16 #define LOG_TEST(_name) UNIT_TEST(_name, 0, log_test)
17 #define LOG_TEST_FLAGS(_name, _flags) UNIT_TEST(_name, _flags, log_test)
18
19 #endif /* __TEST_LOG_H__ */
This page took 0.026922 seconds and 4 git commands to generate.