test: Drop the function for running mbr tests
Use the new suite-runner to run these tests instead. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -39,7 +39,6 @@ int do_ut_bloblist(struct cmd_tbl *cmdtp, int flag, int argc,
|
|||||||
char *const argv[]);
|
char *const argv[]);
|
||||||
int do_ut_hush(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_loadm(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[]);
|
||||||
int do_ut_mbr(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
|
|
||||||
int do_ut_measurement(struct cmd_tbl *cmdtp, int flag, int argc, char * const argv[]);
|
int do_ut_measurement(struct cmd_tbl *cmdtp, int flag, int argc, char * const argv[]);
|
||||||
int do_ut_mem(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
|
int do_ut_mem(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[]);
|
int do_ut_optee(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
|
||||||
|
@@ -471,11 +471,3 @@ static int mbr_test_run(struct unit_test_state *uts)
|
|||||||
|
|
||||||
/* Declare mbr test */
|
/* Declare mbr test */
|
||||||
UNIT_TEST(mbr_test_run, UTF_CONSOLE, mbr);
|
UNIT_TEST(mbr_test_run, UTF_CONSOLE, mbr);
|
||||||
|
|
||||||
int do_ut_mbr(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
|
|
||||||
{
|
|
||||||
struct unit_test *tests = UNIT_TEST_SUITE_START(mbr);
|
|
||||||
const int n_ents = UNIT_TEST_SUITE_COUNT(mbr);
|
|
||||||
|
|
||||||
return cmd_ut_category("mbr", "mbr_test_", tests, n_ents, argc, argv);
|
|
||||||
}
|
|
||||||
|
@@ -159,7 +159,7 @@ static struct suite suites[] = {
|
|||||||
#endif
|
#endif
|
||||||
#if defined(CONFIG_SANDBOX) && defined(CONFIG_CMD_MBR) && defined(CONFIG_CMD_MMC) \
|
#if defined(CONFIG_SANDBOX) && defined(CONFIG_CMD_MBR) && defined(CONFIG_CMD_MMC) \
|
||||||
&& defined(CONFIG_MMC_SANDBOX) && defined(CONFIG_MMC_WRITE)
|
&& defined(CONFIG_MMC_SANDBOX) && defined(CONFIG_MMC_WRITE)
|
||||||
SUITE_CMD(mbr, do_ut_mbr),
|
SUITE(mbr),
|
||||||
#endif
|
#endif
|
||||||
SUITE_CMD(mem, do_ut_mem),
|
SUITE_CMD(mem, do_ut_mem),
|
||||||
#if defined(CONFIG_SANDBOX) && defined(CONFIG_CMD_SETEXPR)
|
#if defined(CONFIG_SANDBOX) && defined(CONFIG_CMD_SETEXPR)
|
||||||
|
Reference in New Issue
Block a user