mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 09:54:35 +00:00
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:
parent
bda212bad5
commit
cebdc5376f
3 changed files with 1 additions and 12 deletions
|
@ -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__ */
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Add table
Reference in a new issue