test: Leave out the prefix when printing test names
When tests are all in the same suite it is annoying to have to read all the common text after each name. Skip this to help the user. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -184,7 +184,7 @@ static int run_suite(struct unit_test_state *uts, struct suite *ste,
|
||||
char prefix[30];
|
||||
|
||||
/* use a standard prefix */
|
||||
snprintf(prefix, sizeof(prefix), "%s_test", ste->name);
|
||||
snprintf(prefix, sizeof(prefix), "%s_test_", ste->name);
|
||||
ret = cmd_ut_category(uts, ste->name, prefix, ste->start,
|
||||
n_ents, argc, argv);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user