commit | fe3f6a65fef8d2f7f388f3a584e02dad54ff72a7 | [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 | 09129bec8e1f2cd89d48b3ae98dcd83707d5e606 [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>