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