
22 Nov
2020
22 Nov
'20
12:07 a.m.
On Thu, 19 Nov 2020 at 03:09, Patrick Delaunay patrick.delaunay@st.com wrote:
Raise an error when test is not found, for example with manual test with bad test name, as following, doesn't raise an error
=> ut lib bad Failures: 0
After the patch:
=> ut lib bad lib test bad not found Failures: 1
This patch allows also to detect tests which don't respect the expected format with "prefix" used in cmd_ut_category and defined in ut_subtest (./test/py/conftest.py). When I execute "make qcheck" this patch detects 2 issues, corrected by the 2 next patches.
Signed-off-by: Patrick Delaunay patrick.delaunay@st.com
test/cmd_ut.c | 7 +++++++ 1 file changed, 7 insertions(+)
Reviewed-by: Simon Glass sjg@chromium.org