From 4ba3ab4901c564725c37e927e2ba29595712cd9d Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 20 Jan 2025 14:25:32 -0700 Subject: 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 --- test/lib/cmd_ut_lib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/lib/cmd_ut_lib.c') 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); } -- cgit v1.2.3