diff options
author | Simon Glass <sjg@chromium.org> | 2025-01-20 14:25:53 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-01-24 14:34:40 -0600 |
commit | a2cf88d807a59ec20eabdb32189a598b59fc0113 (patch) | |
tree | 2dc5b17d5f4bfeb23b820822c4f045032d63ef96 | |
parent | 822cb558e1a9415c3b4b8069fd62734d3d37ddfe (diff) |
test: Drop the function for running pci_mps tests
Use the new suite-runner to run these tests instead.
Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | include/test/suites.h | 2 | ||||
-rw-r--r-- | test/cmd/pci_mps.c | 10 | ||||
-rw-r--r-- | test/cmd_ut.c | 2 |
3 files changed, 1 insertions, 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 3620be62ce6..080a36a909c 100644 --- a/test/cmd_ut.c +++ b/test/cmd_ut.c @@ -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), |