blob: e73a1dd8f814e11ed7e06dcdc06819515fd4e506 [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
6#include <common.h>
Simon Glassfa1e4202022-10-29 19:47:07 -06007#include <test/suites.h>
Simon Glass0e1fad42020-07-19 10:15:37 -06008#include <test/test.h>
Joe Hershberger40441e02015-05-20 14:27:29 -05009
Simon Glass09140112020-05-10 11:40:03 -060010int do_ut_dm(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
Joe Hershberger40441e02015-05-20 14:27:29 -050011{
Simon Glassfa1e4202022-10-29 19:47:07 -060012 struct unit_test *tests = UNIT_TEST_SUITE_START(dm_test);
13 const int n_ents = UNIT_TEST_SUITE_COUNT(dm_test);
Joe Hershberger40441e02015-05-20 14:27:29 -050014
Simon Glassfa1e4202022-10-29 19:47:07 -060015 return cmd_ut_category("driver model", "dm_test_", tests, n_ents, argc,
16 argv);
Joe Hershberger40441e02015-05-20 14:27:29 -050017}