From: Simon Glass Date: Mon, 20 Jan 2025 21:25:41 +0000 (-0700) Subject: test: Drop the function for running font tests X-Git-Tag: v2025.04-rc1~11^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9976e52bea8d1b89469226989f7429d4b174050;p=pandora-u-boot.git test: Drop the function for running font tests Use the new suite-runner to run these tests instead. Signed-off-by: Simon Glass --- diff --git a/include/test/suites.h b/include/test/suites.h index bf3a9851322..587d6a5b473 100644 --- a/include/test/suites.h +++ b/include/test/suites.h @@ -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[]); diff --git a/test/cmd/font.c b/test/cmd/font.c index d860efe8ce5..af88d1b5459 100644 --- a/test/cmd/font.c +++ b/test/cmd/font.c @@ -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); -} diff --git a/test/cmd_ut.c b/test/cmd_ut.c index 0babc91d118..db96a4ac2ac 100644 --- a/test/cmd_ut.c +++ b/test/cmd_ut.c @@ -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),