]> git.baikalelectronics.ru Git - uboot.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)
commit6ce6fce3e8c23baddd9696f0e1ecad36248b00e9
tree39f4369afc252aaab9b90c4d5d124cca51163332
parentf793de8c3dfb8d527dab282479342a26f427a2b3
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: db7ff668282 ("test: Wrap assert macros in ({ ... }) and fix")
Signed-off-by: Simon Glass <sjg@chromium.org>
include/test/ut.h