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