
12 Jul
2023
12 Jul
'23
9:16 a.m.
On 7/12/23 04:46, 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.
Signed-off-by: Simon Glass sjg@chromium.org
Reviewed-by: Marek Vasut marex@denx.de
Thanks