blob: c73e8d7b05a98c1b62377aeb819f1ac8f768ab35 [file] [log] [blame]
Heinrich Schuchardtf77a6352019-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
14int do_ut_lib(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
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
Philippe Reynes1f99f842019-12-17 19:07:04 +010019 return cmd_ut_category("lib", "lib_test_", tests, n_ents, argc, argv);
Heinrich Schuchardtf77a6352019-01-30 07:53:31 +010020}