blob: 6617ed8b15250c5fc101d4203a058fe2b73378c2 [file] [log] [blame]
Heinrich Schuchardtf433d502020-02-26 21:48:18 +01001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright (c) 2020, Heinrich Schuchardt <xypron.glpk@gmx.de>
4 *
5 * Logging function tests.
6 */
7
Heinrich Schuchardtf433d502020-02-26 21:48:18 +01008#include <console.h>
Simon Glass0f2af882020-05-10 11:40:05 -06009#include <log.h>
Heinrich Schuchardtf433d502020-02-26 21:48:18 +010010#include <test/log.h>
11#include <test/suites.h>
12
Simon Glassed38aef2020-05-10 11:40:03 -060013int do_ut_log(struct cmd_tbl *cmdtp, int flag, int argc, char * const argv[])
Heinrich Schuchardtf433d502020-02-26 21:48:18 +010014{
Simon Glassb50211f2021-03-07 17:35:10 -070015 struct unit_test *tests = UNIT_TEST_SUITE_START(log_test);
16 const int n_ents = UNIT_TEST_SUITE_COUNT(log_test);
Heinrich Schuchardtf433d502020-02-26 21:48:18 +010017
18 return cmd_ut_category("log", "log_test_",
19 tests, n_ents, argc, argv);
20}