mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-22 20:58:22 +00:00
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:
parent
7bbf2f7983
commit
9e93c249f7
3 changed files with 1 additions and 10 deletions
|
@ -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,
|
int do_ut_addrmap(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||||
char *const argv[]);
|
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_bootm(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
|
||||||
int do_ut_bootstd(struct cmd_tbl *cmdtp, int flag, int argc,
|
int do_ut_bootstd(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||||
char *const argv[]);
|
char *const argv[]);
|
||||||
|
|
|
@ -282,11 +282,3 @@ static int bdinfo_test_eth(struct unit_test_state *uts)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
BDINFO_TEST(bdinfo_test_eth, UTF_CONSOLE);
|
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[] = {
|
static struct suite suites[] = {
|
||||||
SUITE_CMD(info, do_ut_info),
|
SUITE_CMD(info, do_ut_info),
|
||||||
#ifdef CONFIG_CMD_BDI
|
#ifdef CONFIG_CMD_BDI
|
||||||
SUITE_CMD(bdinfo, do_ut_bdinfo),
|
SUITE(bdinfo),
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_UT_BOOTSTD
|
#ifdef CONFIG_UT_BOOTSTD
|
||||||
SUITE_CMD(bootstd, do_ut_bootstd),
|
SUITE_CMD(bootstd, do_ut_bootstd),
|
||||||
|
|
Loading…
Add table
Reference in a new issue