diff options
author | Simon Glass <sjg@chromium.org> | 2025-01-20 14:25:32 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-01-24 14:34:40 -0600 |
commit | 4ba3ab4901c564725c37e927e2ba29595712cd9d (patch) | |
tree | b36263667b0fccf7b57bc5911f39e0c1181e5a5c /test/lib/cmd_ut_lib.c | |
parent | c16b388ea8bcee9acd17a555e66e61c72b973128 (diff) |
test: Drop the _test suffix on linker lists
Most test suites have a _test suffix. This is not necessary as there is
also a ut_ prefix.
Drop the suffix so that (with future work) the suite name can be used as
the linker-list name.
Remove the suffix from the pytest regex as well, moving it to the top of
the file, as it is a constant.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/lib/cmd_ut_lib.c')
-rw-r--r-- | test/lib/cmd_ut_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/cmd_ut_lib.c b/test/lib/cmd_ut_lib.c index f98cb9b3c57..90a8c0728b7 100644 --- a/test/lib/cmd_ut_lib.c +++ b/test/lib/cmd_ut_lib.c @@ -12,8 +12,8 @@ int do_ut_lib(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) { - struct unit_test *tests = UNIT_TEST_SUITE_START(lib_test); - const int n_ents = UNIT_TEST_SUITE_COUNT(lib_test); + struct unit_test *tests = UNIT_TEST_SUITE_START(lib); + const int n_ents = UNIT_TEST_SUITE_COUNT(lib); return cmd_ut_category("lib", "lib_test_", tests, n_ents, argc, argv); } |