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