On Wed, 11 Oct 2023 at 18:56, Sean Anderson <sean...@gmail.com> wrote: > > Returning a negative value from a unit test doesn't automatically fail the > test. We have to fail an assertion. Modify the test to do so. > > This now causes the test to count as a failure on VPL. This is because the > fname of SPL (and U-Boot) is generated with make_exec in os_jump_to_image. > The original name of SPL is gone, and we can't determine the name of U-Boot > from the generated name. > > Signed-off-by: Sean Anderson <sean...@gmail.com> > --- > > configs/sandbox_vpl_defconfig | 1 + > test/image/spl_load_os.c | 6 ++---- > 2 files changed, 3 insertions(+), 4 deletions(-)
Reviewed-by: Simon Glass <s...@chromium.org>