[PATCH 08/19] test: do not assume memory size 256 MiB in cmd_test_meminfo
Ilias Apalodimas
ilias.apalodimas at linaro.org
Mon Nov 24 10:54:08 CET 2025
On Mon, 24 Nov 2025 at 00:58, Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
>
> 256 GiB is the default memory size of the sandbox. But in our CI other
> boards like qemu-x86_64_defconfig run with a different memory size.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>
> ---
> test/cmd/meminfo.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/test/cmd/meminfo.c b/test/cmd/meminfo.c
> index 53b41e3b49e..40c3520496e 100644
> --- a/test/cmd/meminfo.c
> +++ b/test/cmd/meminfo.c
> @@ -14,7 +14,7 @@
> static int cmd_test_meminfo(struct unit_test_state *uts)
> {
> ut_assertok(run_command("meminfo", 0));
> - ut_assert_nextline("DRAM: 256 MiB");
> + ut_assert_nextlinen("DRAM: ");
> ut_assert_nextline_empty();
>
> ut_assert_nextline("Region Base Size End Gap");
> --
> 2.51.0
>
More information about the U-Boot
mailing list