156067Smarkm// SPDX-License-Identifier: GPL-2.0 256067Smarkm/* 356067Smarkm * Copyright (c) 2019 Heinrich Schuchardt <xypron.glpk@gmx.de> 456067Smarkm * 556067Smarkm * Unit tests for library functions 656067Smarkm */ 756067Smarkm 856067Smarkm#include <common.h> 956067Smarkm#include <command.h> 1056067Smarkm#include <test/lib.h> 1156067Smarkm#include <test/suites.h> 1256067Smarkm#include <test/ut.h> 1356067Smarkm 1456067Smarkmint do_ut_lib(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) 1556067Smarkm{ 1656067Smarkm struct unit_test *tests = UNIT_TEST_SUITE_START(lib_test); 1756067Smarkm const int n_ents = UNIT_TEST_SUITE_COUNT(lib_test); 1856067Smarkm 1956067Smarkm return cmd_ut_category("lib", "lib_test_", tests, n_ents, argc, argv); 2056067Smarkm} 2156067Smarkm