blob: f1ac015b2c89786bb7dafdc27632009a3580229d [file] [log] [blame]
Heinrich Schuchardt2dd01112019-01-30 07:53:31 +01001// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (c) 2019 Heinrich Schuchardt <xypron.glpk@gmx.de>
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
Simon Glass09140112020-05-10 11:40:03 -060014int do_ut_lib(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
Heinrich Schuchardt2dd01112019-01-30 07:53:31 +010015{
Simon Glassa7a98752021-03-07 17:35:10 -070016 struct unit_test *tests = UNIT_TEST_SUITE_START(lib_test);
17 const int n_ents = UNIT_TEST_SUITE_COUNT(lib_test);
Heinrich Schuchardt2dd01112019-01-30 07:53:31 +010018
Philippe Reynes4ad4edf2019-12-17 19:07:04 +010019 return cmd_ut_category("lib", "lib_test_", tests, n_ents, argc, argv);
Heinrich Schuchardt2dd01112019-01-30 07:53:31 +010020}