mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-18 10:54:37 +00:00
test: Drop the function for running dm tests
Use the new suite-runner to run these tests instead. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
cfc0f46cd0
commit
7c012db106
4 changed files with 1 additions and 19 deletions
|
@ -37,7 +37,6 @@ int do_ut_bootstd(struct cmd_tbl *cmdtp, int flag, int argc,
|
|||
char *const argv[]);
|
||||
int do_ut_bloblist(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||
char *const argv[]);
|
||||
int do_ut_dm(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
|
||||
int do_ut_env(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
|
||||
int do_ut_exit(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
|
||||
int do_ut_fdt(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
|
||||
|
|
|
@ -133,7 +133,7 @@ static struct suite suites[] = {
|
|||
#endif
|
||||
SUITE(common),
|
||||
#if defined(CONFIG_UT_DM)
|
||||
SUITE_CMD(dm, do_ut_dm),
|
||||
SUITE(dm),
|
||||
#endif
|
||||
#if defined(CONFIG_UT_ENV)
|
||||
SUITE_CMD(env, do_ut_env),
|
||||
|
|
|
@ -3,8 +3,6 @@
|
|||
# Copyright (c) 2013 Google, Inc
|
||||
# Copyright 2022-2023 Arm Limited and/or its affiliates <open-source-office@arm.com>
|
||||
|
||||
obj-$(CONFIG_UT_DM) += test-dm.o
|
||||
|
||||
# Tests for particular subsystems - when enabling driver model for a new
|
||||
# subsystem you must add sandbox tests here.
|
||||
ifeq ($(CONFIG_XPL_BUILD),y)
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/*
|
||||
* Copyright (c) 2013 Google, Inc
|
||||
*/
|
||||
|
||||
#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);
|
||||
const int n_ents = UNIT_TEST_SUITE_COUNT(dm);
|
||||
|
||||
return cmd_ut_category("dm", "dm_test_", tests, n_ents, argc, argv);
|
||||
}
|
Loading…
Add table
Reference in a new issue