u-boot/test/env
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
..
attr.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cmd_ut_env.c cmd_ut: add a parameter prefix to the function cmd_ut_category 2020-01-07 11:13:25 -05:00
hashtable.c env: Drop the ACTION typedef 2019-08-11 16:43:41 -04:00
Kconfig test: env: Enable env unit tests by default 2019-04-24 07:27:28 -04:00
Makefile hashtable: fix environment variable corruption 2019-02-09 07:50:54 -05:00