]>
Commit | Line | Data |
---|---|---|
395041b2 HS |
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 | ||
395041b2 | 8 | #include <console.h> |
f7ae49fc | 9 | #include <log.h> |
395041b2 HS |
10 | #include <test/log.h> |
11 | #include <test/suites.h> | |
12 | ||
09140113 | 13 | int do_ut_log(struct cmd_tbl *cmdtp, int flag, int argc, char * const argv[]) |
395041b2 | 14 | { |
a7a98755 SG |
15 | struct unit_test *tests = UNIT_TEST_SUITE_START(log_test); |
16 | const int n_ents = UNIT_TEST_SUITE_COUNT(log_test); | |
395041b2 HS |
17 | |
18 | return cmd_ut_category("log", "log_test_", | |
19 | tests, n_ents, argc, argv); | |
20 | } |