blob: e73a1dd8f814e11ed7e06dcdc06819515fd4e506 [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
6#include <common.h>
Simon Glass2a83e862022-10-29 19:47:07 -06007#include <test/suites.h>
Simon Glass75c4d412020-07-19 10:15:37 -06008#include <test/test.h>
Simon Glassb2c1cac2014-02-26 15:59:21 -07009
Simon Glass2a83e862022-10-29 19:47:07 -060010int do_ut_dm(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
Simon Glassb2c1cac2014-02-26 15:59:21 -070011{
Simon Glassb50211f2021-03-07 17:35:10 -070012 struct unit_test *tests = UNIT_TEST_SUITE_START(dm_test);
13 const int n_ents = UNIT_TEST_SUITE_COUNT(dm_test);
Joe Hershberger9dc1d712015-05-20 14:27:29 -050014
Simon Glass2a83e862022-10-29 19:47:07 -060015 return cmd_ut_category("driver model", "dm_test_", tests, n_ents, argc,
16 argv);
Joe Hershberger9dc1d712015-05-20 14:27:29 -050017}