test: Drop the function for running bdinfo tests

Use the new suite-runner to run these tests instead.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2025-01-20 14:25:34 -07:00 committed by Tom Rini
parent 7bbf2f7983
commit 9e93c249f7
3 changed files with 1 additions and 10 deletions

View file

@ -32,7 +32,6 @@ int cmd_ut_category(const char *name, const char *prefix,
int do_ut_addrmap(struct cmd_tbl *cmdtp, int flag, int argc,
char *const argv[]);
int do_ut_bdinfo(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
int do_ut_bootm(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
int do_ut_bootstd(struct cmd_tbl *cmdtp, int flag, int argc,
char *const argv[]);

View file

@ -282,11 +282,3 @@ static int bdinfo_test_eth(struct unit_test_state *uts)
return 0;
}
BDINFO_TEST(bdinfo_test_eth, UTF_CONSOLE);
int do_ut_bdinfo(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
{
struct unit_test *tests = UNIT_TEST_SUITE_START(bdinfo);
const int n_ents = UNIT_TEST_SUITE_COUNT(bdinfo);
return cmd_ut_category("bdinfo", "bdinfo_test_", tests, n_ents, argc, argv);
}

View file

@ -123,7 +123,7 @@ SUITE_DECL(upl);
static struct suite suites[] = {
SUITE_CMD(info, do_ut_info),
#ifdef CONFIG_CMD_BDI
SUITE_CMD(bdinfo, do_ut_bdinfo),
SUITE(bdinfo),
#endif
#ifdef CONFIG_UT_BOOTSTD
SUITE_CMD(bootstd, do_ut_bootstd),