test: Drop the function for running font tests
authorSimon Glass <sjg@chromium.org>
Mon, 20 Jan 2025 21:25:41 +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/font.c
test/cmd_ut.c

index bf3a985..587d6a5 100644 (file)
@@ -37,7 +37,6 @@ 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_font(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_lib(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[]);
index d860efe..af88d1b 100644 (file)
@@ -85,11 +85,3 @@ static int font_test_base(struct unit_test_state *uts)
 }
 FONT_TEST(font_test_base, UTF_SCAN_PDATA | UTF_SCAN_FDT | UTF_CONSOLE |
          UTF_DM);
-
-int do_ut_font(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
-{
-       struct unit_test *tests = UNIT_TEST_SUITE_START(font);
-       const int n_ents = UNIT_TEST_SUITE_COUNT(font);
-
-       return cmd_ut_category("font", "font_test_", tests, n_ents, argc, argv);
-}
index 0babc91..db96a4a 100644 (file)
@@ -143,7 +143,7 @@ static struct suite suites[] = {
        SUITE(fdt),
 #endif
 #ifdef CONFIG_CONSOLE_TRUETYPE
-       SUITE_CMD(font, do_ut_font),
+       SUITE(font),
 #endif
 #ifdef CONFIG_UT_OPTEE
        SUITE_CMD(optee, do_ut_optee),