[PATCH v4 23/23] test: mbr: Drop a duplicate test

Simon Glass sjg at chromium.org
Mon Sep 2 00:26:34 CEST 2024


The test currently runs twice as it is declared twice. Unwind this.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v4:
- Rebase to -next (on top of testc series)
- Drop patch to add UT_TESTF_CONSOLE_REC to bootflow tests

Changes in v2:
- Add many new patches to resolve all the outstanding test issues

 test/cmd/mbr.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/test/cmd/mbr.c b/test/cmd/mbr.c
index 72799612381..b14137e589a 100644
--- a/test/cmd/mbr.c
+++ b/test/cmd/mbr.c
@@ -479,9 +479,3 @@ int do_ut_mbr(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
 
 	return cmd_ut_category("mbr", "mbr_test_", tests, n_ents, argc, argv);
 }
-
-static int dm_test_cmd_mbr(struct unit_test_state *uts)
-{
-	return mbr_test_run(uts);
-}
-DM_TEST(dm_test_cmd_mbr, UTF_SCAN_FDT | UTF_CONSOLE);
-- 
2.34.1



More information about the U-Boot mailing list