[PATCH 31/43] test: Drop the function for running pci_mps tests
Simon Glass
sjg at chromium.org
Wed Jan 15 14:31:01 CET 2025
Use the new suite-runner to run these tests instead.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
include/test/suites.h | 2 --
test/cmd/pci_mps.c | 10 ----------
test/cmd_ut.c | 2 +-
3 files changed, 1 insertion(+), 13 deletions(-)
diff --git a/include/test/suites.h b/include/test/suites.h
index f6b33da5a28..49c18ebf456 100644
--- a/include/test/suites.h
+++ b/include/test/suites.h
@@ -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[]);
diff --git a/test/cmd/pci_mps.c b/test/cmd/pci_mps.c
index 2595ea103ff..8b3ea4a6134 100644
--- a/test/cmd/pci_mps.c
+++ b/test/cmd/pci_mps.c
@@ -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);
-}
diff --git a/test/cmd_ut.c b/test/cmd_ut.c
index 0a6284e4962..7caf41da096 100644
--- a/test/cmd_ut.c
+++ b/test/cmd_ut.c
@@ -182,7 +182,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),
--
2.34.1
More information about the U-Boot
mailing list