test: Drop the function for running pci_mps tests
authorSimon Glass <sjg@chromium.org>
Mon, 20 Jan 2025 21:25:53 +0000 (14:25 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 24 Jan 2025 20:34:40 +0000 (14:34 -0600)
Use the new suite-runner to run these tests instead.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/test/suites.h
test/cmd/pci_mps.c
test/cmd_ut.c

index f6b33da..49c18eb 100644 (file)
@@ -35,8 +35,6 @@ int do_ut_bootstd(struct cmd_tbl *cmdtp, int flag, int argc,
 int do_ut_optee(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
 int do_ut_overlay(struct cmd_tbl *cmdtp, int flag, int argc,
                  char *const argv[]);
-int do_ut_pci_mps(struct cmd_tbl *cmdtp, int flag, int argc,
-                 char *const argv[]);
 int do_ut_seama(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
 int do_ut_upl(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
 
index 2595ea1..8b3ea4a 100644 (file)
@@ -28,13 +28,3 @@ static int test_pci_mps_safe(struct unit_test_state *uts)
        return 0;
 }
 PCI_MPS_TEST(test_pci_mps_safe, UTF_CONSOLE);
-
-int do_ut_pci_mps(struct cmd_tbl *cmdtp, int flag, int argc,
-                 char * const argv[])
-{
-       struct unit_test *tests = UNIT_TEST_SUITE_START(pci_mps);
-       const int n = UNIT_TEST_SUITE_COUNT(pci_mps);
-
-       return cmd_ut_category("pci_mps", "pci_mps_test_", tests, n,
-                              argc, argv);
-}
index 3620be6..080a36a 100644 (file)
@@ -184,7 +184,7 @@ static struct suite suites[] = {
        SUITE(loadm),
 #endif
 #ifdef CONFIG_CMD_PCI_MPS
-       SUITE_CMD(pci_mps, do_ut_pci_mps),
+       SUITE(pci_mps),
 #endif
 #ifdef CONFIG_CMD_SEAMA
        SUITE_CMD(seama, do_ut_seama),