From: Simon Glass Date: Mon, 20 Jan 2025 21:25:53 +0000 (-0700) Subject: test: Drop the function for running pci_mps tests X-Git-Tag: v2025.04-rc1~11^2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2cf88d807a59ec20eabdb32189a598b59fc0113;p=thirdparty%2Fu-boot.git test: Drop the function for running pci_mps tests Use the new suite-runner to run these tests instead. Signed-off-by: Simon Glass --- 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),