]>
Commit | Line | Data |
---|---|---|
2dd0111a HS |
1 | // SPDX-License-Identifier: GPL-2.0 |
2 | /* | |
3 | * Copyright (c) 2019 Heinrich Schuchardt <[email protected]> | |
4 | * | |
5 | * Unit tests for library functions | |
6 | */ | |
7 | ||
8 | #include <common.h> | |
9 | #include <command.h> | |
10 | #include <test/lib.h> | |
11 | #include <test/suites.h> | |
12 | #include <test/ut.h> | |
13 | ||
09140113 | 14 | int do_ut_lib(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) |
2dd0111a HS |
15 | { |
16 | struct unit_test *tests = ll_entry_start(struct unit_test, lib_test); | |
17 | const int n_ents = ll_entry_count(struct unit_test, lib_test); | |
18 | ||
4ad4edfe | 19 | return cmd_ut_category("lib", "lib_test_", tests, n_ents, argc, argv); |
2dd0111a | 20 | } |