commit | 436cfc74c9018b891dff82a1161fc613a09ab60f | [log] [tgz] |
---|---|---|
author | Joe Hershberger <joe.hershberger@ni.com> | Wed May 20 14:27:34 2015 -0500 |
committer | Tom Rini <trini@konsulko.com> | Thu May 21 09:16:18 2015 -0400 |
tree | 55352c7ccf48aaecc7a5f5e9ed197f3112cec79e | |
parent | fc755f9fb8bcc816405cd62eb4785873bcf16631 [diff] |
test: Return values from the asserts compatible with cmds 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> Reviewed-by: Simon Glass <sjg@chromium.org>