]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: Add a macro to check that a value is not an error pointer
authorSimon Glass <sjg@chromium.org>
Mon, 6 Jul 2015 18:54:37 +0000 (12:54 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 21 Jul 2015 23:39:33 +0000 (17:39 -0600)
commit85aeda4a62775326d616c7bc5876b4bd00cb1a3e
tree3c9abed084b26bd9339c55341342eb58e6f66261
parent0503e8207c11c40bd53c41b88edbffe284a7658f
test: Add a macro to check that a value is not an error pointer

Some functions can return ERR_PTR(errval). Add a unit test macro to check
that no error is returned in a pointer.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/test/ut.h