Hi Sughosh, On Wed, 24 Jul 2024 at 00:05, Sughosh Ganu <sughosh.g...@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.g...@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