2018-05-06 21:58:06 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
2014-02-26 22:59:21 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2013 Google, Inc
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <common.h>
|
2022-10-30 01:47:07 +00:00
|
|
|
#include <test/suites.h>
|
2020-07-19 16:15:37 +00:00
|
|
|
#include <test/test.h>
|
2014-02-26 22:59:21 +00:00
|
|
|
|
2022-10-30 01:47:07 +00:00
|
|
|
int do_ut_dm(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
|
2014-02-26 22:59:21 +00:00
|
|
|
{
|
2021-03-08 00:35:10 +00:00
|
|
|
struct unit_test *tests = UNIT_TEST_SUITE_START(dm_test);
|
|
|
|
const int n_ents = UNIT_TEST_SUITE_COUNT(dm_test);
|
2015-05-20 19:27:29 +00:00
|
|
|
|
2022-10-30 01:47:07 +00:00
|
|
|
return cmd_ut_category("driver model", "dm_test_", tests, n_ents, argc,
|
|
|
|
argv);
|
2015-05-20 19:27:29 +00:00
|
|
|
}
|