diff options
| author | Simon Glass <[email protected]> | 2025-01-20 14:25:50 -0700 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-01-24 14:34:40 -0600 |
| commit | e6959512b6f5e68314718b3ccd44608017bfb305 (patch) | |
| tree | b0a5ea26fffaa495d75cf2cbaba78e5039dc421e /test | |
| parent | 1ca67c3f040fb91cb32c9c29251429496a6ee280 (diff) | |
test: Drop the function for running addrmap tests
Use the new suite-runner to run these tests instead.
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'test')
| -rw-r--r-- | test/cmd/addrmap.c | 9 | ||||
| -rw-r--r-- | test/cmd_ut.c | 2 |
2 files changed, 1 insertions, 10 deletions
diff --git a/test/cmd/addrmap.c b/test/cmd/addrmap.c index fd0117102e2..1f2deb15052 100644 --- a/test/cmd/addrmap.c +++ b/test/cmd/addrmap.c @@ -24,12 +24,3 @@ static int addrmap_test_basic(struct unit_test_state *uts) return 0; } ADDRMAP_TEST(addrmap_test_basic, UTF_CONSOLE); - -int do_ut_addrmap(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) -{ - struct unit_test *tests = UNIT_TEST_SUITE_START(addrmap); - const int n_ents = UNIT_TEST_SUITE_COUNT(addrmap); - - return cmd_ut_category("addrmap", "cmd_addrmap_", tests, n_ents, - argc, argv); -} diff --git a/test/cmd_ut.c b/test/cmd_ut.c index 71283d6dd14..611171740a9 100644 --- a/test/cmd_ut.c +++ b/test/cmd_ut.c @@ -175,7 +175,7 @@ static struct suite suites[] = { #endif #endif #ifdef CONFIG_CMD_ADDRMAP - SUITE_CMD(addrmap, do_ut_addrmap), + SUITE(addrmap), #endif #if CONFIG_IS_ENABLED(HUSH_PARSER) SUITE_CMD(hush, do_ut_hush), |
