Use the new suite-runner to run these tests instead.
Signed-off-by: Simon Glass <sjg@chromium.org>
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[]);
#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),
# 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)
+++ /dev/null
-// 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);
-}