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:
@@ -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[]);
|
||||
|
@@ -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);
|
||||
}
|
||||
|
@@ -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),
|
||||
|
Reference in New Issue
Block a user