mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-18 10:54:37 +00:00
test: Drop the function for running fdt_overlay tests
Use the new suite-runner to run these tests instead. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
a7290bc4b7
commit
ba1112839a
3 changed files with 1 additions and 20 deletions
|
@ -36,8 +36,6 @@ int cmd_ut_category(struct unit_test_state *uts, const char *name,
|
|||
|
||||
int do_ut_bootstd(struct unit_test_state *uts, struct cmd_tbl *cmdtp, int flag,
|
||||
int argc, char *const argv[]);
|
||||
int do_ut_fdt_overlay(struct unit_test_state *uts, struct cmd_tbl *cmdtp,
|
||||
int flag, int argc, char *const argv[]);
|
||||
int do_ut_optee(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
|
||||
|
||||
#endif /* __TEST_SUITES_H__ */
|
||||
|
|
|
@ -134,9 +134,7 @@ static struct suite suites[] = {
|
|||
SUITE(env, "environment"),
|
||||
SUITE(exit, "shell exit and variables"),
|
||||
SUITE(fdt, "fdt command"),
|
||||
#ifdef CONFIG_UT_FDT_OVERLAY
|
||||
SUITE_CMD(fdt_overlay, do_ut_fdt_overlay, "device tree overlays"),
|
||||
#endif
|
||||
SUITE(fdt_overlay, "device tree overlays"),
|
||||
SUITE(font, "font command"),
|
||||
SUITE(hush, "hush behaviour"),
|
||||
SUITE(lib, "library functions"),
|
||||
|
|
|
@ -236,18 +236,3 @@ static int fdt_overlay_test_stacked(struct unit_test_state *uts)
|
|||
return CMD_RET_SUCCESS;
|
||||
}
|
||||
FDT_OVERLAY_TEST(fdt_overlay_test_stacked, 0);
|
||||
|
||||
int do_ut_fdt_overlay(struct unit_test_state *uts, struct cmd_tbl *cmdtp,
|
||||
int flag, int argc, char *const argv[])
|
||||
{
|
||||
struct unit_test *tests = UNIT_TEST_SUITE_START(fdt_overlay);
|
||||
const int n_ents = UNIT_TEST_SUITE_COUNT(fdt_overlay);
|
||||
int ret = -ENOMEM;
|
||||
|
||||
ret = cmd_ut_category(uts, "fdt_overlay", "fdt_overlay_test_", tests,
|
||||
n_ents, argc, argv);
|
||||
|
||||
free(fdt);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue