[PATCH 1/3] test: cmd_ut_category: raise a error when the test is not found
Tom Rini
trini at konsulko.com
Sat Jan 16 18:11:32 CET 2021
On Thu, Nov 19, 2020 at 10:08:41AM +0100, Patrick Delaunay 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 at st.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
This is a great idea, which I cannot apply right now as it shows the
setexpr tests aren't right. So, I'll try and look in to that if
someone else doesn't get there first.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210116/306dd571/attachment.sig>
More information about the U-Boot
mailing list