diff options
| author | Simon Glass <[email protected]> | 2025-01-20 14:25:48 -0700 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-01-24 14:34:40 -0600 |
| commit | 28b32858aaa8afa20b9bd2de8e7f535b6f8f2a2e (patch) | |
| tree | 76aec788675471598d90dcf3d326c4c99e6334e2 | |
| parent | 446e6f9cd373d4642a5da62e870cb7c46fc9e43a (diff) | |
test: Drop the function for running bloblist tests
Use the new suite-runner to run these tests instead.
Signed-off-by: Simon Glass <[email protected]>
| -rw-r--r-- | include/test/suites.h | 2 | ||||
| -rw-r--r-- | test/cmd_ut.c | 2 | ||||
| -rw-r--r-- | test/common/bloblist.c | 10 |
3 files changed, 1 insertions, 13 deletions
diff --git a/include/test/suites.h b/include/test/suites.h index 1a40af6599a..32b7e8e3d5a 100644 --- a/include/test/suites.h +++ b/include/test/suites.h @@ -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[]); diff --git a/test/cmd_ut.c b/test/cmd_ut.c index ff9976cb98a..93bcc5efc74 100644 --- a/test/cmd_ut.c +++ b/test/cmd_ut.c @@ -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 diff --git a/test/common/bloblist.c b/test/common/bloblist.c index f5d98774862..9467abfa8e1 100644 --- a/test/common/bloblist.c +++ b/test/common/bloblist.c @@ -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); -} |
