]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
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 f6b33da5a28357718051ea5b8a6e0b5b6b6dfa5a..49c18ebf456e4577dc7fdd53bf8232e6ccb5112d 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 2595ea103ff4f39c5aa011038a484b554a322d9e..8b3ea4a6134a79e63b084392f2f04b78e993e796 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 3620be62ce608ae5e26eeeea2f338432d4c782c5..080a36a909ced064da171be9c882ee06bc174f8b 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),