summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2025-01-20 14:25:54 -0700
committerTom Rini <[email protected]>2025-01-24 14:34:40 -0600
commitb073d8a2727fa1177a2944807cb5ebc5122d6a39 (patch)
treea16e9287cfba8050f1b5f3b400acee7fa145a722
parenta2cf88d807a59ec20eabdb32189a598b59fc0113 (diff)
test: Drop the function for running seama tests
Use the new suite-runner to run these tests instead. It is not clear that these actually work, since they are not enabled on sandbox for some reason. Signed-off-by: Simon Glass <[email protected]> Acked-by: Linus Walleij <[email protected]>
-rw-r--r--include/test/suites.h1
-rw-r--r--test/cmd/seama.c9
-rw-r--r--test/cmd_ut.c2
3 files changed, 1 insertions, 11 deletions
diff --git a/include/test/suites.h b/include/test/suites.h
index 49c18ebf456..cd758b8c464 100644
--- a/include/test/suites.h
+++ b/include/test/suites.h
@@ -35,7 +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_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[]);
#endif /* __TEST_SUITES_H__ */
diff --git a/test/cmd/seama.c b/test/cmd/seama.c
index 39590d162ac..1edc3fcac5a 100644
--- a/test/cmd/seama.c
+++ b/test/cmd/seama.c
@@ -56,12 +56,3 @@ static int seama_test_index(struct unit_test_state *uts)
return 0;
}
SEAMA_TEST(seama_test_index, UTF_CONSOLE);
-
-int do_ut_seama(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
-{
- struct unit_test *tests = UNIT_TEST_SUITE_START(seama);
- const int n_ents = UNIT_TEST_SUITE_COUNT(seama);
-
- return cmd_ut_category("seama", "seama_test_", tests, n_ents, argc,
- argv);
-}
diff --git a/test/cmd_ut.c b/test/cmd_ut.c
index 080a36a909c..ed6bc3a9a49 100644
--- a/test/cmd_ut.c
+++ b/test/cmd_ut.c
@@ -187,7 +187,7 @@ static struct suite suites[] = {
SUITE(pci_mps),
#endif
#ifdef CONFIG_CMD_SEAMA
- SUITE_CMD(seama, do_ut_seama),
+ SUITE(seama),
#endif
#ifdef CONFIG_CMD_UPL
SUITE_CMD(upl, do_ut_upl),