]> git.baikalelectronics.ru Git - uboot.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)
commite3495960b620ed5ce6571179577e87bfef640648
tree2c90c6e6d2e27ab0cb609e6937062b90039872e6
parent64f798faa79872bccdaf0566b556dce2dcee91b0
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