]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: Report skippped tests
authorSimon Glass <sjg@chromium.org>
Fri, 21 Oct 2022 00:22:48 +0000 (18:22 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 31 Oct 2022 15:02:44 +0000 (11:02 -0400)
commit1facaadea1871c1b6962272dd21569a4aafda18c
tree2c90c6e6d2e27ab0cb609e6937062b90039872e6
parentd2afb9edce0089f06d8f353cf88d8f5dec984914
test: Report skippped tests

At present it is possible for a test to skip itself by returning -EAGAIN
but this is not recorded. An existing example is in test_pre_run() with
the "Console recording disabled" check.

Keep a track of skipped tests and report the total at the end.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
include/test/test.h
test/test-main.c