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)
commitc43635bdbc6cb1e4ba2d9e2f28f7f3cb3b287bf8
tree2b4a6c1620f2a966857661d0b1ce4179e195b27d
parent1facaadea1871c1b6962272dd21569a4aafda18c
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