test: Drop the function for running setexpr tests

Use the new suite-runner to run these tests instead.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2025-01-20 14:25:46 -07:00 committed by Tom Rini
parent bda212bad5
commit cebdc5376f
3 changed files with 1 additions and 12 deletions

View file

@ -46,8 +46,6 @@ int do_ut_overlay(struct cmd_tbl *cmdtp, int flag, int argc,
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_setexpr(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__ */

View file

@ -479,12 +479,3 @@ static int setexpr_test_fmt(struct unit_test_state *uts)
}
SETEXPR_TEST(setexpr_test_fmt, UTF_CONSOLE);
#endif
int do_ut_setexpr(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
{
struct unit_test *tests = UNIT_TEST_SUITE_START(setexpr);
const int n_ents = UNIT_TEST_SUITE_COUNT(setexpr);
return cmd_ut_category("setexpr", "setexpr_test_", tests, n_ents,
argc, argv);
}

View file

@ -163,7 +163,7 @@ static struct suite suites[] = {
#endif
SUITE(mem),
#if defined(CONFIG_SANDBOX) && defined(CONFIG_CMD_SETEXPR)
SUITE_CMD(setexpr, do_ut_setexpr),
SUITE(setexpr),
#endif
#ifdef CONFIG_MEASURED_BOOT
SUITE_CMD(measurement, do_ut_measurement),