Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Simon Glass | 2e7d35d | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (c) 2013 Google, Inc |
Simon Glass | 2e7d35d | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #include <common.h> |
Simon Glass | fa1e420 | 2022-10-29 19:47:07 -0600 | [diff] [blame] | 7 | #include <test/suites.h> |
Simon Glass | 0e1fad4 | 2020-07-19 10:15:37 -0600 | [diff] [blame] | 8 | #include <test/test.h> |
Joe Hershberger | 40441e0 | 2015-05-20 14:27:29 -0500 | [diff] [blame] | 9 | |
Simon Glass | 0914011 | 2020-05-10 11:40:03 -0600 | [diff] [blame] | 10 | int do_ut_dm(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) |
Joe Hershberger | 40441e0 | 2015-05-20 14:27:29 -0500 | [diff] [blame] | 11 | { |
Simon Glass | fa1e420 | 2022-10-29 19:47:07 -0600 | [diff] [blame] | 12 | struct unit_test *tests = UNIT_TEST_SUITE_START(dm_test); |
| 13 | const int n_ents = UNIT_TEST_SUITE_COUNT(dm_test); |
Joe Hershberger | 40441e0 | 2015-05-20 14:27:29 -0500 | [diff] [blame] | 14 | |
Simon Glass | fa1e420 | 2022-10-29 19:47:07 -0600 | [diff] [blame] | 15 | return cmd_ut_category("driver model", "dm_test_", tests, n_ents, argc, |
| 16 | argv); |
Joe Hershberger | 40441e0 | 2015-05-20 14:27:29 -0500 | [diff] [blame] | 17 | } |