[PATCH 2/5] bloblist: Compare addresses rather than pointers in tests

Simon Glass sjg at chromium.org
Mon Oct 5 23:32:38 CEST 2020


When running these tests on sandbox any failures result in very large or
long pointer values which are a pain to work with. Map them to an address
so it is easier to diagnose failures.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 include/test/ut.h | 13 +++++++++++++
 test/bloblist.c   | 17 +++++++++--------
 2 files changed, 22 insertions(+), 8 deletions(-)

Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list