blob: 4bc2c45db61cd38e85d5fecf8693037a1cd38c84 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Simon Glassb2c1cac2014-02-26 15:59:21 -07002/*
3 * Copyright (c) 2013 Google, Inc
Simon Glassb2c1cac2014-02-26 15:59:21 -07004 */
5
Simon Glass2a83e862022-10-29 19:47:07 -06006#include <test/suites.h>
Simon Glass75c4d412020-07-19 10:15:37 -06007#include <test/test.h>
Simon Glassb2c1cac2014-02-26 15:59:21 -07008
Simon Glass2a83e862022-10-29 19:47:07 -06009int do_ut_dm(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
Simon Glassb2c1cac2014-02-26 15:59:21 -070010{
Simon Glassb50211f2021-03-07 17:35:10 -070011 struct unit_test *tests = UNIT_TEST_SUITE_START(dm_test);
12 const int n_ents = UNIT_TEST_SUITE_COUNT(dm_test);
Joe Hershberger9dc1d712015-05-20 14:27:29 -050013
Simon Glass2a83e862022-10-29 19:47:07 -060014 return cmd_ut_category("driver model", "dm_test_", tests, n_ents, argc,
15 argv);
Joe Hershberger9dc1d712015-05-20 14:27:29 -050016}