test: Add ut_assertnull macro
authorRamon Fried <ramon.fried@gmail.com>
Thu, 21 Jun 2018 14:47:16 +0000 (17:47 +0300)
committerTom Rini <trini@konsulko.com>
Thu, 19 Jul 2018 20:17:58 +0000 (16:17 -0400)
commit8d545790729434f4ba718dd9a6a1b55dcf7e94c4
tree0dde4cf1390898128070d12ee5d01515809f0f07
parentf7e48c54b246c460503e90315d0cd50ccbd586c6
test: Add ut_assertnull macro

Add ut_assertnull macro to include/test/ut.h
For testing of functions that returns NULL on errors.

Signed-off-by: Ramon Fried <ramon.fried@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/test/ut.h