From: Simon Glass Date: Mon, 20 Jan 2025 21:25:52 +0000 (-0700) Subject: test: Drop the function for running loadm tests X-Git-Tag: v2025.04-rc1~11^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=822cb558e1a9415c3b4b8069fd62734d3d37ddfe;p=pandora-u-boot.git test: Drop the function for running loadm 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 b96a78f7129..f6b33da5a28 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_bootstd(struct cmd_tbl *cmdtp, int flag, int argc, 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_overlay(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]); diff --git a/test/cmd/loadm.c b/test/cmd/loadm.c index 78bb12ce88c..3c623aa655f 100644 --- a/test/cmd/loadm.c +++ b/test/cmd/loadm.c @@ -58,12 +58,3 @@ static int loadm_test_load (struct unit_test_state *uts) return 0; } 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); -} diff --git a/test/cmd_ut.c b/test/cmd_ut.c index c892891d6c8..3620be62ce6 100644 --- a/test/cmd_ut.c +++ b/test/cmd_ut.c @@ -181,7 +181,7 @@ static struct suite suites[] = { SUITE(hush), #endif #ifdef CONFIG_CMD_LOADM - SUITE_CMD(loadm, do_ut_loadm), + SUITE(loadm), #endif #ifdef CONFIG_CMD_PCI_MPS SUITE_CMD(pci_mps, do_ut_pci_mps),