From: Simon Glass Date: Mon, 20 Jan 2025 21:25:34 +0000 (-0700) Subject: test: Drop the function for running bdinfo tests X-Git-Tag: v2025.04-rc1~11^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e93c249f7a3b16ced4844c1c41b5298c7b4907b;p=pandora-u-boot.git test: Drop the function for running bdinfo tests Use the new suite-runner to run these tests instead. Signed-off-by: Simon Glass --- diff --git a/include/test/suites.h b/include/test/suites.h index c1119e44999..b6af9295424 100644 --- a/include/test/suites.h +++ b/include/test/suites.h @@ -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[]); diff --git a/test/cmd/bdinfo.c b/test/cmd/bdinfo.c index b0b24bcb5a7..7408c271a30 100644 --- a/test/cmd/bdinfo.c +++ b/test/cmd/bdinfo.c @@ -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); -} diff --git a/test/cmd_ut.c b/test/cmd_ut.c index c5df8b397b3..bbd329912d4 100644 --- a/test/cmd_ut.c +++ b/test/cmd_ut.c @@ -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),