Steffen Jaeckel | e1788f9 | 2021-07-08 15:57:40 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /* |
| 3 | * Copyright (c) 2019 Heinrich Schuchardt <xypron.glpk@gmx.de> |
| 4 | * Copyright (c) 2021 Steffen Jaeckel <jaeckel-floss@eyet-services.de> |
| 5 | * |
| 6 | * Unit tests for common functions |
| 7 | */ |
| 8 | |
Steffen Jaeckel | e1788f9 | 2021-07-08 15:57:40 +0200 | [diff] [blame] | 9 | #include <command.h> |
| 10 | #include <test/common.h> |
| 11 | #include <test/suites.h> |
| 12 | #include <test/ut.h> |
| 13 | |
| 14 | int do_ut_common(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) |
| 15 | { |
| 16 | struct unit_test *tests = UNIT_TEST_SUITE_START(common_test); |
| 17 | const int n_ents = UNIT_TEST_SUITE_COUNT(common_test); |
| 18 | |
| 19 | return cmd_ut_category("common", "common_test_", tests, n_ents, argc, |
| 20 | argv); |
| 21 | } |