blob: 772e1978062afd514462703c177014ece77b6df9 [file] [log] [blame]
Heinrich Schuchardtf433d502020-02-26 21:48:18 +01001/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Copyright (c) 2020, Heinrich Schuchardt <xypron.glpk@gmx.de>
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
Sean Andersonc1821822020-10-27 19:55:27 -040013#define LOGF_TEST (BIT(LOGF_FUNC) | BIT(LOGF_MSG))
14
Heinrich Schuchardtf433d502020-02-26 21:48:18 +010015/* Declare a new logging test */
16#define LOG_TEST(_name) UNIT_TEST(_name, 0, log_test)
17
18#endif /* __TEST_LOG_H__ */