[PATCH v2] bdinfo: Correct use of assertions

Tom Rini trini at konsulko.com
Fri Jul 14 19:27:38 CEST 2023


On Tue, 11 Jul 2023 20:46:30 -0600, Simon Glass wrote:

> This test was written for the incorrect use of assertions. Update it to
> build with the previous approach, where tests fail at the first
> assertion.
> 
> All assertion functions return 0 on success and non-zero on failure.
> They can be nested into functions simply by declaring a function that
> returns an int and using ut_assertok() to call it.
> 
> [...]

Applied to u-boot/master, thanks!

-- 
Tom



More information about the U-Boot mailing list