]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: Restore test behaviour on failure
authorSimon Glass <sjg@chromium.org>
Thu, 1 Jun 2023 16:22:29 +0000 (10:22 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 14 Jul 2023 16:54:50 +0000 (12:54 -0400)
commit18030d9fa225569cc0ff3e87baca52c6e2558e91
tree39f4369afc252aaab9b90c4d5d124cca51163332
parent06d3414ac77332c808e255a7036edad6f631b3d2
test: Restore test behaviour on failure

A recent change makes test continue to run after failure. This results in
a lot of useless output and may lead to a segfault. Fix this by adding
back the 'return' statement.

Fixes: fa847bb409d ("test: Wrap assert macros in ({ ... }) and fix")
Signed-off-by: Simon Glass <sjg@chromium.org>
include/test/ut.h