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

Simon Glass sjg at chromium.org
Fri May 1 05:46:28 CEST 2015


On 28 April 2015 at 23:51, Joe Hershberger <joe.hershberger at 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 at 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 at chromium.org>


More information about the U-Boot mailing list