mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-01 00:45:43 +00:00
test: Drop the function for running exit 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
3e5e638e62
commit
ca917e491f
3 changed files with 1 additions and 11 deletions
|
@ -37,7 +37,6 @@ int do_ut_bootstd(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||||
char *const argv[]);
|
char *const argv[]);
|
||||||
int do_ut_bloblist(struct cmd_tbl *cmdtp, int flag, int argc,
|
int do_ut_bloblist(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||||
char *const argv[]);
|
char *const argv[]);
|
||||||
int do_ut_exit(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
|
|
||||||
int do_ut_fdt(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
|
int do_ut_fdt(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
|
||||||
int do_ut_font(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
|
int do_ut_font(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_hush(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
|
||||||
|
|
|
@ -110,12 +110,3 @@ static int cmd_exit_test(struct unit_test_state *uts)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
EXIT_TEST(cmd_exit_test, UTF_CONSOLE);
|
EXIT_TEST(cmd_exit_test, UTF_CONSOLE);
|
||||||
|
|
||||||
int do_ut_exit(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
|
|
||||||
{
|
|
||||||
struct unit_test *tests = UNIT_TEST_SUITE_START(exit);
|
|
||||||
const int n_ents = UNIT_TEST_SUITE_COUNT(exit);
|
|
||||||
|
|
||||||
return cmd_ut_category("exit", "exit_test_", tests, n_ents,
|
|
||||||
argc, argv);
|
|
||||||
}
|
|
||||||
|
|
|
@ -138,7 +138,7 @@ static struct suite suites[] = {
|
||||||
#if defined(CONFIG_UT_ENV)
|
#if defined(CONFIG_UT_ENV)
|
||||||
SUITE(env),
|
SUITE(env),
|
||||||
#endif
|
#endif
|
||||||
SUITE_CMD(exit, do_ut_exit),
|
SUITE(exit),
|
||||||
#ifdef CONFIG_CMD_FDT
|
#ifdef CONFIG_CMD_FDT
|
||||||
SUITE_CMD(fdt, do_ut_fdt),
|
SUITE_CMD(fdt, do_ut_fdt),
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue