]> Git Repo - J-u-boot.git/blame - include/test/log.h
Merge tag 'u-boot-imx-master-20250127' of https://gitlab.denx.de/u-boot/custodians...
[J-u-boot.git] / include / test / log.h
CommitLineData
395041b2
HS
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
62ef8189
SA
13#define LOGF_TEST (BIT(LOGF_FUNC) | BIT(LOGF_MSG))
14
395041b2 15/* Declare a new logging test */
4ba3ab49 16#define LOG_TEST(_name) UNIT_TEST(_name, UTF_CONSOLE, log)
75c535c3 17#define LOG_TEST_FLAGS(_name, _flags) \
4ba3ab49 18 UNIT_TEST(_name, _flags | UTF_CONSOLE, log)
395041b2
HS
19
20#endif /* __TEST_LOG_H__ */
This page took 0.209561 seconds and 5 git commands to generate.