]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
test: Drop the function for running bloblist tests
authorSimon Glass <sjg@chromium.org>
Mon, 20 Jan 2025 21:25:48 +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_ut.c
test/common/bloblist.c

index 1a40af6599ac6bb72968e67df46ccb69929b9889..32b7e8e3d5a5fab9fabf3e2208bfeb654d9f5a84 100644 (file)
@@ -35,8 +35,6 @@ int do_ut_addrmap(struct cmd_tbl *cmdtp, int flag, int argc,
 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_bloblist(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[]);
 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[]);
index ff9976cb98aa120b81cac564b9d7352defdea16f..93bcc5efc74205fe48f610512c7293c9980750a3 100644 (file)
@@ -170,7 +170,7 @@ static struct suite suites[] = {
 #endif
 #ifdef CONFIG_SANDBOX
 #if CONFIG_IS_ENABLED(BLOBLIST)
-       SUITE_CMD(bloblist, do_ut_bloblist),
+       SUITE(bloblist),
        SUITE_CMD(bootm, do_ut_bootm),
 #endif
 #endif
index f5d987748629504ced17d7078186543a7faf4310..9467abfa8e192510aa9a9e6b76cb7add0022f543 100644 (file)
@@ -602,13 +602,3 @@ static int bloblist_test_blob_maxsize(struct unit_test_state *uts)
        return 0;
 }
 BLOBLIST_TEST(bloblist_test_blob_maxsize, UFT_BLOBLIST);
-
-int do_ut_bloblist(struct cmd_tbl *cmdtp, int flag, int argc,
-                  char *const argv[])
-{
-       struct unit_test *tests = UNIT_TEST_SUITE_START(bloblist);
-       const int n_ents = UNIT_TEST_SUITE_COUNT(bloblist);
-
-       return cmd_ut_category("bloblist", "bloblist_test_",
-                              tests, n_ents, argc, argv);
-}