test: Drop the function for running loadm 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:52 -07:00 committed by Tom Rini
parent d5e5cb48e6
commit 822cb558e1
3 changed files with 1 additions and 11 deletions

View file

@ -32,7 +32,6 @@ int cmd_ut_category(const char *name, const char *prefix,
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[]);
int do_ut_loadm(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
int do_ut_optee(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]); int do_ut_optee(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
int do_ut_overlay(struct cmd_tbl *cmdtp, int flag, int argc, int do_ut_overlay(struct cmd_tbl *cmdtp, int flag, int argc,
char *const argv[]); char *const argv[]);

View file

@ -58,12 +58,3 @@ static int loadm_test_load (struct unit_test_state *uts)
return 0; return 0;
} }
LOADM_TEST(loadm_test_load, UTF_CONSOLE); LOADM_TEST(loadm_test_load, UTF_CONSOLE);
int do_ut_loadm(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
{
struct unit_test *tests = UNIT_TEST_SUITE_START(loadm);
const int n_ents = UNIT_TEST_SUITE_COUNT(loadm);
return cmd_ut_category("loadm", "loadm_test_", tests, n_ents, argc,
argv);
}

View file

@ -181,7 +181,7 @@ static struct suite suites[] = {
SUITE(hush), SUITE(hush),
#endif #endif
#ifdef CONFIG_CMD_LOADM #ifdef CONFIG_CMD_LOADM
SUITE_CMD(loadm, do_ut_loadm), SUITE(loadm),
#endif #endif
#ifdef CONFIG_CMD_PCI_MPS #ifdef CONFIG_CMD_PCI_MPS
SUITE_CMD(pci_mps, do_ut_pci_mps), SUITE_CMD(pci_mps, do_ut_pci_mps),