bootstd: Add tests for bootstd including all uclasses
Add a set of combined tests for the bootdev, bootflow and bootmeth commands, along with associated functionality. Expand the sandbox console-recording limit so that these can work. These tests rely on a filesystem script which is not yet added to the Python tests. It is included here as a shell script. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -28,6 +28,10 @@ int cmd_ut_category(const char *name, const char *prefix,
|
||||
|
||||
static struct cmd_tbl cmd_ut_sub[] = {
|
||||
U_BOOT_CMD_MKENT(all, CONFIG_SYS_MAXARGS, 1, do_ut_all, "", ""),
|
||||
#ifdef CONFIG_BOOTSTD
|
||||
U_BOOT_CMD_MKENT(bootstd, CONFIG_SYS_MAXARGS, 1, do_ut_bootstd,
|
||||
"", ""),
|
||||
#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, "", ""),
|
||||
@@ -115,6 +119,9 @@ static char ut_help_text[] =
|
||||
"ut bloblist - Test bloblist implementation\n"
|
||||
"ut compression - Test compressors and bootm decompression\n"
|
||||
#endif
|
||||
#ifdef CONFIG_BOOTSTD
|
||||
"ut bootstd - Test standard boot implementation\n"
|
||||
#endif
|
||||
#ifdef CONFIG_UT_DM
|
||||
"ut dm [test-name]\n"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user