diff options
Diffstat (limited to 'test/cmd/addrmap.c')
-rw-r--r-- | test/cmd/addrmap.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/cmd/addrmap.c b/test/cmd/addrmap.c index fb744485bb..1eb5955db1 100644 --- a/test/cmd/addrmap.c +++ b/test/cmd/addrmap.c @@ -29,9 +29,8 @@ ADDRMAP_TEST(addrmap_test_basic, UT_TESTF_CONSOLE_REC); int do_ut_addrmap(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) { - struct unit_test *tests = ll_entry_start(struct unit_test, - addrmap_test); - const int n_ents = ll_entry_count(struct unit_test, addrmap_test); + struct unit_test *tests = UNIT_TEST_SUITE_START(addrmap_test); + const int n_ents = UNIT_TEST_SUITE_COUNT(addrmap_test); return cmd_ut_category("cmd_addrmap", "cmd_addrmap_", tests, n_ents, argc, argv); |