[U-Boot] [PATCH v2 14/19] test: Return values from the asserts compatible with cmds

Simon Glass
2015-05-01T03:46:28Z

On 28 April 2015 at 23:51, Joe Hershberger <joe.hershberger@ni.com> wrote:
> The asserts are sometimes called from the context of the test command
> itself so make sure that a return that happens as a result of a failure
> is compatible with that command return. When called within a test, the
> return value is ignored.
>
> Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
> ---
>
> Changes in v2:
> -New for version 2
>
> include/test/ut.h | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)

Reviewed-by: Simon Glass <sjg@chromium.org>