diff options
author | Joe Hershberger | 2015-05-20 14:27:34 -0500 |
---|---|---|
committer | Tom Rini | 2015-05-21 09:16:18 -0400 |
commit | fe3f6a65fef8d2f7f388f3a584e02dad54ff72a7 (patch) | |
tree | 55352c7ccf48aaecc7a5f5e9ed197f3112cec79e /test/dm/test-main.c | |
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>
Diffstat (limited to 'test/dm/test-main.c')
0 files changed, 0 insertions, 0 deletions