Skip to content
Snippets Groups Projects
Commit 4ad4edfe authored by Philippe Reynes's avatar Philippe Reynes Committed by Tom Rini
Browse files

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: default avatarPhilippe Reynes <philippe.reynes@softathome.com>
Tested-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
parent 5677fe9d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment