mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-24 14:25:56 +00:00
test: Drop the function for running bootm 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
28b32858aa
commit
1ca67c3f04
3 changed files with 1 additions and 11 deletions
|
@ -32,7 +32,6 @@ int cmd_ut_category(const char *name, const char *prefix,
|
|||
|
||||
int do_ut_addrmap(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||
char *const argv[]);
|
||||
int do_ut_bootm(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
|
||||
int do_ut_bootstd(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[]);
|
||||
|
|
|
@ -249,12 +249,3 @@ static int bootm_test_subst_both(struct unit_test_state *uts)
|
|||
return 0;
|
||||
}
|
||||
BOOTM_TEST(bootm_test_subst_both, 0);
|
||||
|
||||
int do_ut_bootm(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
|
||||
{
|
||||
struct unit_test *tests = UNIT_TEST_SUITE_START(bootm);
|
||||
const int n_ents = UNIT_TEST_SUITE_COUNT(bootm);
|
||||
|
||||
return cmd_ut_category("bootm", "bootm_test_", tests, n_ents,
|
||||
argc, argv);
|
||||
}
|
||||
|
|
|
@ -171,7 +171,7 @@ static struct suite suites[] = {
|
|||
#ifdef CONFIG_SANDBOX
|
||||
#if CONFIG_IS_ENABLED(BLOBLIST)
|
||||
SUITE(bloblist),
|
||||
SUITE_CMD(bootm, do_ut_bootm),
|
||||
SUITE(bootm),
|
||||
#endif
|
||||
#endif
|
||||
#ifdef CONFIG_CMD_ADDRMAP
|
||||
|
|
Loading…
Add table
Reference in a new issue