]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
test: Drop the function for running loadm tests
authorSimon Glass <sjg@chromium.org>
Mon, 20 Jan 2025 21:25:52 +0000 (14:25 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 24 Jan 2025 20:34:40 +0000 (14:34 -0600)
Use the new suite-runner to run these tests instead.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/test/suites.h
test/cmd/loadm.c
test/cmd_ut.c

index b96a78f712914d420b38f7e95a0669121ca68c6f..f6b33da5a28357718051ea5b8a6e0b5b6b6dfa5a 100644 (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,
                  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[]);
index 78bb12ce88ca272eb1005603e0af6476a50bf886..3c623aa655fb51ce379666324ca949436d54e849 100644 (file)
@@ -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);
-}
index c892891d6c845a066f4bff609d00efc6792961ee..3620be62ce608ae5e26eeeea2f338432d4c782c5 100644 (file)
@@ -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),