diff options
author | Simon Glass <sjg@chromium.org> | 2025-01-20 14:25:56 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-01-24 14:34:41 -0600 |
commit | 81c5434f499e00a2143fa585e030af1821e3285f (patch) | |
tree | 09cf82d54e3f38857f647ca7965d781a473ee778 /test/cmd_ut.c | |
parent | 0af17462b96953de3be877dda0d84734503596fb (diff) |
test: Drop the info test from the list
The 'info' test is not a real test. With the new suite array we can drop
this and the associated special-case code.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/cmd_ut.c')
-rw-r--r-- | test/cmd_ut.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/cmd_ut.c b/test/cmd_ut.c index efcac626a5b..181cdb43152 100644 --- a/test/cmd_ut.c +++ b/test/cmd_ut.c @@ -93,7 +93,6 @@ int cmd_ut_category(const char *name, const char *prefix, NULL, \ } -SUITE_DECL(info); SUITE_DECL(bdinfo); SUITE_DECL(bootstd); SUITE_DECL(cmd); @@ -121,7 +120,6 @@ SUITE_DECL(seama); SUITE_DECL(upl); static struct suite suites[] = { - SUITE_CMD(info, do_ut_info), #ifdef CONFIG_CMD_BDI SUITE(bdinfo), #endif @@ -249,7 +247,7 @@ static int do_ut_info(struct cmd_tbl *cmdtp, int flag, int argc, puts("\nTests Suite\n"); puts("----- -----\n"); - for (i = 1; i < ARRAY_SIZE(suites); i++) { + for (i = 0; i < ARRAY_SIZE(suites); i++) { struct suite *ste = &suites[i]; long n_ent = ste->end - ste->start; |