1 // 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>
10 #include <log.h>
11 #include <test/log.h>
12 #include <test/suites.h>
13
do_ut_log(struct cmd_tbl * cmdtp,int flag,int argc,char * const argv[])14 int do_ut_log(struct cmd_tbl *cmdtp, int flag, int argc, char * const argv[])
15 {
16 struct unit_test *tests = ll_entry_start(struct unit_test, log_test);
17 const int n_ents = ll_entry_count(struct unit_test, log_test);
18
19 return cmd_ut_category("log", "log_test_",
20 tests, n_ents, argc, argv);
21 }
22