mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-27 07:51:38 +00:00
test: Drop the function for running addrmap 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
1ca67c3f04
commit
e6959512b6
3 changed files with 1 additions and 12 deletions
|
@ -30,8 +30,6 @@ int cmd_ut_category(const char *name, const char *prefix,
|
||||||
struct unit_test *tests, int n_ents,
|
struct unit_test *tests, int n_ents,
|
||||||
int argc, char *const argv[]);
|
int argc, char *const argv[]);
|
||||||
|
|
||||||
int do_ut_addrmap(struct cmd_tbl *cmdtp, int flag, int argc,
|
|
||||||
char *const argv[]);
|
|
||||||
int do_ut_bootstd(struct cmd_tbl *cmdtp, int flag, int argc,
|
int do_ut_bootstd(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[]);
|
||||||
|
|
|
@ -24,12 +24,3 @@ static int addrmap_test_basic(struct unit_test_state *uts)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
ADDRMAP_TEST(addrmap_test_basic, UTF_CONSOLE);
|
ADDRMAP_TEST(addrmap_test_basic, UTF_CONSOLE);
|
||||||
|
|
||||||
int do_ut_addrmap(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
|
|
||||||
{
|
|
||||||
struct unit_test *tests = UNIT_TEST_SUITE_START(addrmap);
|
|
||||||
const int n_ents = UNIT_TEST_SUITE_COUNT(addrmap);
|
|
||||||
|
|
||||||
return cmd_ut_category("addrmap", "cmd_addrmap_", tests, n_ents,
|
|
||||||
argc, argv);
|
|
||||||
}
|
|
||||||
|
|
|
@ -175,7 +175,7 @@ static struct suite suites[] = {
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_CMD_ADDRMAP
|
#ifdef CONFIG_CMD_ADDRMAP
|
||||||
SUITE_CMD(addrmap, do_ut_addrmap),
|
SUITE(addrmap),
|
||||||
#endif
|
#endif
|
||||||
#if CONFIG_IS_ENABLED(HUSH_PARSER)
|
#if CONFIG_IS_ENABLED(HUSH_PARSER)
|
||||||
SUITE_CMD(hush, do_ut_hush),
|
SUITE_CMD(hush, do_ut_hush),
|
||||||
|
|
Loading…
Add table
Reference in a new issue