From: Simon Glass Date: Mon, 20 Jan 2025 21:25:40 +0000 (-0700) Subject: test: Drop the function for running fdt tests X-Git-Tag: v2025.04-rc1~11^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45dfbdde373587f13ba8edf5fb6783043cb5ee1c;p=pandora-u-boot.git test: Drop the function for running fdt 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 70b9af1fd05..bf3a9851322 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_fdt(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[]); diff --git a/test/cmd/fdt.c b/test/cmd/fdt.c index 74fd603bb02..ab6dbd45e54 100644 --- a/test/cmd/fdt.c +++ b/test/cmd/fdt.c @@ -1462,11 +1462,3 @@ static int fdt_test_apply(struct unit_test_state *uts) return 0; } FDT_TEST(fdt_test_apply, UTF_CONSOLE); - -int do_ut_fdt(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) -{ - struct unit_test *tests = UNIT_TEST_SUITE_START(fdt); - const int n_ents = UNIT_TEST_SUITE_COUNT(fdt); - - return cmd_ut_category("fdt", "fdt_test_", tests, n_ents, argc, argv); -} diff --git a/test/cmd_ut.c b/test/cmd_ut.c index 387aacb916b..0babc91d118 100644 --- a/test/cmd_ut.c +++ b/test/cmd_ut.c @@ -140,7 +140,7 @@ static struct suite suites[] = { #endif SUITE(exit), #ifdef CONFIG_CMD_FDT - SUITE_CMD(fdt, do_ut_fdt), + SUITE(fdt), #endif #ifdef CONFIG_CONSOLE_TRUETYPE SUITE_CMD(font, do_ut_font),