]> git.dujemihanovic.xyz Git - u-boot.git/commit
bloblist: Compare addresses rather than pointers in tests
authorSimon Glass <sjg@chromium.org>
Sun, 20 Sep 2020 00:49:27 +0000 (18:49 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 6 Oct 2020 15:07:54 +0000 (09:07 -0600)
commitcdd4e30dfcaba706120df340c0c8757d56e48b7a
treea3e8de88ec394d7c628527a1d54c698c1ccf5b34
parent4aed22762303755f8f26d14f0ad2608d63550e72
bloblist: Compare addresses rather than pointers in tests

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@chromium.org>
include/test/ut.h
test/bloblist.c