]> git.baikalelectronics.ru Git - uboot.git/commit
test: Update tests to use the skip feature
authorSimon Glass <sjg@chromium.org>
Fri, 21 Oct 2022 00:22:49 +0000 (18:22 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 31 Oct 2022 15:02:44 +0000 (11:02 -0400)
commitc7d26eb37693242e7b925f6425e9c90dc88c4f85
tree2b4a6c1620f2a966857661d0b1ce4179e195b27d
parente3495960b620ed5ce6571179577e87bfef640648
test: Update tests to use the skip feature

Some tests currently return 0 when they want to be skipped. Update them to
return -EAGAIN instead, so they are counted as skipped.

A few tests are in two parts, with the latter part being skipped in
certain situations. Split these into two and use the correct condition for
the second part.

Signed-off-by: Simon Glass <sjg@chromium.org>
test/boot/bootflow.c
test/boot/bootmeth.c
test/boot/vbe_fixup.c
test/dm/of_platdata.c
test/dm/ofnode.c