]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
test: Drop the function for running fdt tests
authorSimon Glass <sjg@chromium.org>
Mon, 20 Jan 2025 21:25:40 +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/fdt.c
test/cmd_ut.c

index 70b9af1fd059e604d6723e54372adbc1c311061c..bf3a985132280124517587497fc4dc400c44612c 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_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[]);
index 74fd603bb029fd7736ef2e072924f15c2026aaff..ab6dbd45e545b811355ceef457ec49bf428403f4 100644 (file)
@@ -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);
-}
index 387aacb916b4c5709135965cdcea9669c945e88f..0babc91d118778c31e17640c5d89023d4e2cee44 100644 (file)
@@ -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),