blob: 5aa3a1840045f18f6b0a76316acf30e15e368f24 [file] [log] [blame]
Heinrich Schuchardt395041b2020-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 * Logging function tests.
6 */
7
8#include <common.h>
9#include <console.h>
Simon Glassf7ae49f2020-05-10 11:40:05 -060010#include <log.h>
Heinrich Schuchardt395041b2020-02-26 21:48:18 +010011#include <test/log.h>
12#include <test/suites.h>
13
Simon Glass09140112020-05-10 11:40:03 -060014int do_ut_log(struct cmd_tbl *cmdtp, int flag, int argc, char * const argv[])
Heinrich Schuchardt395041b2020-02-26 21:48:18 +010015{
Simon Glassa7a98752021-03-07 17:35:10 -070016 struct unit_test *tests = UNIT_TEST_SUITE_START(log_test);
17 const int n_ents = UNIT_TEST_SUITE_COUNT(log_test);
Heinrich Schuchardt395041b2020-02-26 21:48:18 +010018
19 return cmd_ut_category("log", "log_test_",
20 tests, n_ents, argc, argv);
21}