Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Simon Glass | b2c1cac | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (c) 2013 Google, Inc |
Simon Glass | b2c1cac | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 4 | */ |
| 5 | |
Tom Rini | abb9a04 | 2024-05-18 20:20:43 -0600 | [diff] [blame] | 6 | #include <common.h> |
Simon Glass | 2a83e86 | 2022-10-29 19:47:07 -0600 | [diff] [blame] | 7 | #include <test/suites.h> |
Simon Glass | 75c4d41 | 2020-07-19 10:15:37 -0600 | [diff] [blame] | 8 | #include <test/test.h> |
Simon Glass | b2c1cac | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 9 | |
Simon Glass | 2a83e86 | 2022-10-29 19:47:07 -0600 | [diff] [blame] | 10 | int do_ut_dm(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) |
Simon Glass | b2c1cac | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 11 | { |
Simon Glass | b50211f | 2021-03-07 17:35:10 -0700 | [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 | 9dc1d71 | 2015-05-20 14:27:29 -0500 | [diff] [blame] | 14 | |
Simon Glass | 2a83e86 | 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 | 9dc1d71 | 2015-05-20 14:27:29 -0500 | [diff] [blame] | 17 | } |