summaryrefslogtreecommitdiff
path: root/test/dm/test-dm.c
blob: e73a1dd8f814e11ed7e06dcdc06819515fd4e506 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// SPDX-License-Identifier: GPL-2.0+
/*
 * Copyright (c) 2013 Google, Inc
 */

#include <common.h>
#include <test/suites.h>
#include <test/test.h>

int do_ut_dm(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
{
	struct unit_test *tests = UNIT_TEST_SUITE_START(dm_test);
	const int n_ents = UNIT_TEST_SUITE_COUNT(dm_test);

	return cmd_ut_category("driver model", "dm_test_", tests, n_ents, argc,
			       argv);
}