diff options
author | Simon Glass <sjg@chromium.org> | 2025-01-20 14:25:49 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-01-24 14:34:40 -0600 |
commit | 1ca67c3f040fb91cb32c9c29251429496a6ee280 (patch) | |
tree | 8d5e2a7b515398a4292ae79da75b58c896de0892 | |
parent | 28b32858aaa8afa20b9bd2de8e7f535b6f8f2a2e (diff) |
test: Drop the function for running bootm tests
Use the new suite-runner to run these tests instead.
Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | include/test/suites.h | 1 | ||||
-rw-r--r-- | test/boot/bootm.c | 9 | ||||
-rw-r--r-- | test/cmd_ut.c | 2 |
3 files changed, 1 insertions, 11 deletions
diff --git a/include/test/suites.h b/include/test/suites.h index 32b7e8e3d5a..77af692be3c 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_addrmap(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[]); int do_ut_hush(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]); diff --git a/test/boot/bootm.c b/test/boot/bootm.c index 6e78c3ef9ac..7e0ccb0e23f 100644 --- a/test/boot/bootm.c +++ b/test/boot/bootm.c @@ -249,12 +249,3 @@ static int bootm_test_subst_both(struct unit_test_state *uts) return 0; } BOOTM_TEST(bootm_test_subst_both, 0); - -int do_ut_bootm(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) -{ - struct unit_test *tests = UNIT_TEST_SUITE_START(bootm); - const int n_ents = UNIT_TEST_SUITE_COUNT(bootm); - - return cmd_ut_category("bootm", "bootm_test_", tests, n_ents, - argc, argv); -} diff --git a/test/cmd_ut.c b/test/cmd_ut.c index 93bcc5efc74..71283d6dd14 100644 --- a/test/cmd_ut.c +++ b/test/cmd_ut.c @@ -171,7 +171,7 @@ static struct suite suites[] = { #ifdef CONFIG_SANDBOX #if CONFIG_IS_ENABLED(BLOBLIST) SUITE(bloblist), - SUITE_CMD(bootm, do_ut_bootm), + SUITE(bootm), #endif #endif #ifdef CONFIG_CMD_ADDRMAP |