[PATCH 35/40] test: lmb: run lmb tests only manually

Simon Glass sjg at chromium.org
Fri Jul 26 01:32:55 CEST 2024


Hi Sughosh,

On Wed, 24 Jul 2024 at 00:05, Sughosh Ganu <sughosh.ganu at linaro.org> wrote:
>
> The LMB code has been changed so that the memory reservations and
> allocations are now persistent and global. With this change, the
> design of the LMB tests needs to be changed accordingly. Mark the LMB
> tests to be run only manually. The tests won't be run as part of the
> unit test suite, but would be invoked through a separate test, and
> thus would not interfere with the running of the rest of the tests.
>
> Signed-off-by: Sughosh Ganu <sughosh.ganu at linaro.org>
> ---
> Changes since rfc: None
>
>  test/lib/lmb.c | 41 ++++++++++++++++++++---------------------
>  1 file changed, 20 insertions(+), 21 deletions(-)
>

If you put the lmb state in a struct it is pretty easy to have the
tests work without all of this.

Regards,
Simon


More information about the U-Boot mailing list