u-boot/test/lib
Philippe Reynes 4ad4edfe77 cmd_ut: add a parameter prefix to the function cmd_ut_category
There is black magic in the file conftest.py that list
all the test unit. Then, all those test unit are called
in pytest. This call is done with the end of the name
(for example checksum if the full name is bloblist_test_checksum).

The result is that only test for dm are really executed.
by pytest, all others tests are listed but never executed.

This behaviour happens because the dm test unit only check
the end of the name and others tests checks the full name.

To fix this issue, I've added a prefix to the function
cmd_ut_category, and this prefix is removed when looking
for the unit test.

Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
Tested-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2020-01-07 11:13:25 -05:00
..
asn1.c test: add asn1 unit test 2019-12-06 16:44:20 -05:00
cmd_ut_lib.c cmd_ut: add a parameter prefix to the function cmd_ut_category 2020-01-07 11:13:25 -05:00
hexdump.c test: call hexdump tests via ut lib 2019-04-22 18:13:21 -04:00
lmb.c test: lib: lmb: add lmb test for multiple RAM banks 2019-02-02 08:23:33 -05:00
Makefile test: add asn1 unit test 2019-12-06 16:44:20 -05:00
string.c test: provide unit test for memory functions 2019-02-09 07:50:53 -05:00
test_errno_str.c test: provide test for errno_str() 2019-10-31 07:22:53 -04:00