summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/cmd/loadm.c9
-rw-r--r--test/cmd_ut.c2
2 files changed, 1 insertions, 10 deletions
diff --git a/test/cmd/loadm.c b/test/cmd/loadm.c
index 78bb12ce88c..3c623aa655f 100644
--- a/test/cmd/loadm.c
+++ b/test/cmd/loadm.c
@@ -58,12 +58,3 @@ static int loadm_test_load (struct unit_test_state *uts)
return 0;
}
LOADM_TEST(loadm_test_load, UTF_CONSOLE);
-
-int do_ut_loadm(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
-{
- struct unit_test *tests = UNIT_TEST_SUITE_START(loadm);
- const int n_ents = UNIT_TEST_SUITE_COUNT(loadm);
-
- return cmd_ut_category("loadm", "loadm_test_", tests, n_ents, argc,
- argv);
-}
diff --git a/test/cmd_ut.c b/test/cmd_ut.c
index c892891d6c8..3620be62ce6 100644
--- a/test/cmd_ut.c
+++ b/test/cmd_ut.c
@@ -181,7 +181,7 @@ static struct suite suites[] = {
SUITE(hush),
#endif
#ifdef CONFIG_CMD_LOADM
- SUITE_CMD(loadm, do_ut_loadm),
+ SUITE(loadm),
#endif
#ifdef CONFIG_CMD_PCI_MPS
SUITE_CMD(pci_mps, do_ut_pci_mps),