diff options
author | Simon Glass <sjg@chromium.org> | 2023-10-01 19:15:12 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-12-13 18:39:04 -0500 |
commit | 4001e5ab9b9bd4735798477531c68cdf26951d7c (patch) | |
tree | 2731ae56bd732010f47a3deeb53787638bd61a6a /test/cmd_ut.c | |
parent | 9565771076c2d4b0193f1741b3990695ac33c1f3 (diff) | |
download | u-boot-4001e5ab9b9bd4735798477531c68cdf26951d7c.tar.gz u-boot-4001e5ab9b9bd4735798477531c68cdf26951d7c.tar.bz2 u-boot-4001e5ab9b9bd4735798477531c68cdf26951d7c.zip |
test: Add a new suite for commands
Add a new suite for 'cmd' tests, used for testing commands. These are
kept in the test/cmd directory.
For now it is empty, but it will be used for coreboot-command tests.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/cmd_ut.c')
-rw-r--r-- | test/cmd_ut.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/cmd_ut.c b/test/cmd_ut.c index 2ead1c68e0..60cd049eb9 100644 --- a/test/cmd_ut.c +++ b/test/cmd_ut.c @@ -61,6 +61,9 @@ static struct cmd_tbl cmd_ut_sub[] = { U_BOOT_CMD_MKENT(bootstd, CONFIG_SYS_MAXARGS, 1, do_ut_bootstd, "", ""), #endif +#ifdef CONFIG_CMDLINE + U_BOOT_CMD_MKENT(cmd, CONFIG_SYS_MAXARGS, 1, do_ut_cmd, "", ""), +#endif U_BOOT_CMD_MKENT(common, CONFIG_SYS_MAXARGS, 1, do_ut_common, "", ""), #if defined(CONFIG_UT_DM) U_BOOT_CMD_MKENT(dm, CONFIG_SYS_MAXARGS, 1, do_ut_dm, "", ""), @@ -195,6 +198,9 @@ U_BOOT_LONGHELP(ut, #ifdef CONFIG_BOOTSTD "\nbootstd - standard boot implementation" #endif +#ifdef CONFIG_CMDLINE + "\ncmd - test various commands" +#endif #ifdef CONFIG_SANDBOX "\ncompression - compressors and bootm decompression" #endif |